|Eclipse Application causing Desktop Heap allocation failure [message #1803332]
||Wed, 27 February 2019 04:48
| Priyadharshini K
Registered: January 2014
We have a large complicated server framework where we keep getting Desktop heap allocation failure every week. To analyze the problem further, we had setup a smaller simple structure like below
We have a simple Eclipse application - It is a sample application that does nothing but wait for 2 seconds (using Thread. Sleep) and exit.
I have a windows service where I call a batch file that in turn invokes this application in a loop continuously.
This starts to work fine - the Eclipse application gets launched continuously, wait for 2 seconds and exit.
After about 30 minutes or so, I get Desktop Heap allocation failed message from Windows.
Instead of Eclipse application, if I use a windows application that does the same thing I don't see the Desktop heap allocation failure.
I suspect that the resources are not completed released when the Eclipse application exits.
How should I go about fixing this? Any help will be really appreciated.
Thanks in advance,
Powered by FUDForum
. Page generated in 0.01512 seconds