OutOfMemory error reloading same file
Posted: Fri Nov 22, 2013 1:08 pm
Hello, I think I've found a memory leak on Oxigen editor that throws OutOfMemory exception when editing single xml files. Let me explain how I reproduce such error:
I'm generating an XML file outside Oxigen (from an Eclipse java project) and I open it inside Oxigen Editor to view it's content, then I regenerate such XML file with some minor changes with my Eclipse project and when I switch back to Oxigen it states to reload such xml file because it's contents have changed, I do so and review newly generated file. I keep doing this loop several times until Oxygen throws an OutOfMemory exception.
I've opened memory status panel and every time I reload xml file it increases used memory use in about 40 megs, such value doesn't decrease until program crashes. My XML file weights 7 Mb.
Note: I've increased Oxygen maximum memory from 512 to 1024 but it still consumes all assigned RAM. Then another type of message appears pointing:
"The application exceeded the available memory: 910MB. To avoid stability issues please restart the application. If the application has become unstable and cannot be closed normally, you can use the Force Quit button from this dialog. Be aware that by doing this you will lose any unsaved documents.
If the problem persists, it is recommended to increase the amount of memory available to the application."
Thank you in advance.
I'm generating an XML file outside Oxigen (from an Eclipse java project) and I open it inside Oxigen Editor to view it's content, then I regenerate such XML file with some minor changes with my Eclipse project and when I switch back to Oxigen it states to reload such xml file because it's contents have changed, I do so and review newly generated file. I keep doing this loop several times until Oxygen throws an OutOfMemory exception.
I've opened memory status panel and every time I reload xml file it increases used memory use in about 40 megs, such value doesn't decrease until program crashes. My XML file weights 7 Mb.
Note: I've increased Oxygen maximum memory from 512 to 1024 but it still consumes all assigned RAM. Then another type of message appears pointing:
"The application exceeded the available memory: 910MB. To avoid stability issues please restart the application. If the application has become unstable and cannot be closed normally, you can use the Force Quit button from this dialog. Be aware that by doing this you will lose any unsaved documents.
If the problem persists, it is recommended to increase the amount of memory available to the application."
Thank you in advance.