Some time ago, someone asked a question on csdn
: How does a VB program transfer physical memory usage to virtual memory? [VBCommunity]
Other related posts
How to make the program occupy virtual memory instead of the actual memory [VC Community]
Compiled by VBProgramHow can I move the physical memory usage to the virtual memory? [VB]
Carrying the desktop Hitachi show software, we found that it only occupies 376 KB of memory and has 6 MB of virtual memory,
How can this technology be implemented? Because some buttons in my VB program also need to occupy more than 4 MB of memory.
The post has not been discussed for a long time, and the general win program, even if there is no content such as: VC helloworld, will occupy more than 1 MB of memory.
On the home page, the desktop Hitachi show author advertised that he had used the exclusive technology to compress the memory, so that he could keep his memory at around kb. Can I really compress the memory?
In this regard, I am very confused, I also asked in the C community, failed, no way, everything can only rely on myself.
It took me one day to analyze and I found this trick.
A Simulated Program, VB,
Before the command is executed, test.exe occupies approximately 2. 2 MB memory
2. compress the memory and quickly reduce the memory to about 300 kb.
3. Compress a random program, such as Excel, and quickly reduce it to 104 KB of memory.
4. Use other processes to view the results of the tool.
So. Is my program particularly able to save memory?