06-01-2010 01:15 PM
i am getting "not enough memory to complete operation" error while building exe of my application.
As soon as i start the build process
1. In task manager i can see memory consumed immidiately shoots to 1.94GB (of 2 GB Total).
2. after i get this error and i close the build process memory usage comedown to 600MB(all the running processes total)
3. during build the PC becomes so unresponsive that even task manager stops updating, and mouse stops responding.
4. Exactly same problem occurs even if i try to preview the build
My application is not at all computation intensive. the application is something similar to as described.
1. The main VI is just navigation system to select on of 64 dynamic VIs (only 1 dynamic VI runs at a time)
2. Each Dynamic has set of BIG png image data stored as constant. (for some resons we want to distribute single exe files and images we are using should not be anyhow accessible to others.)
3. if i run application in development environment it runs very smoothly, no extra ram usage or cpu usage is observed.
4. total disk size of all the dynamic VIs is around 80MB (please see attached image of largest dynamic VIs memory usage properties, disk size is 2MB)
please let me know
1. how i can build the exe in such a scenario.
2. is there any other way, so that i will be able to deliver single exe to the customer(not by creating installer). (The main intention is that those images should not be accessible to the user without our application)
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
06-02-2010 04:18 AM