I wrote a small program in VB debugging when only around 100 k memory footprint
But more than 2000 after generated EXE running memory footprint, is this why??
How to solve this problem, thank you guys!
CodePudding user response:
If you exit code USES is the End of the program, may be you this kind of situation, although the End is also on behalf of the End of the program, but will not be released from memory resources..If you program exit code with Unload Me, on the other hand, Unload the Me is the program exits and release resources from the memory..
In addition to check:
Finally close the window to open file also closed??
CodePudding user response:
2 m memory, random loading pictures, documents such as it is easy to reach 2 m, if have frequent use of memory and timely release (as if also has a timely release or use), the memory will be rising...CodePudding user response:
"Little" to what extent?2000 k is only 2 m, this should be including the VMM,
Basically is a normal phenomenon,
Run in the IDE, similar to "take care" in VB6,
Is interpretive mode, the memory footprint certainly isn't counted in the VMM,
As long as you are in the process of running,
The memory footprint is not "increasing",
Are expanding (already data memory except)
Basically can think a problem,
CodePudding user response:
I was looking for a finished product before writing programWhen debugging is probably around 2000 k
But when generated exe memory reached 6000 ~ 8000 amazing occupancy rate
Why debugging with generated exe gap so big
CodePudding user response:
Its memory occupancy rate has been rising, stewards computer memory test can rise from 45% to 70%Can you tell me where the problem is, why has been rising,
I use the variable is an array, also wrote to release part of the control with and control group
But don't understand why such a big gap,
CodePudding user response:
Memory is most probably in the task manager is around 8000 kSoftware takes up more memory than this program also has, but obviously after open software
Memory, system operation is slow, it is what reason,
CodePudding user response: