[#5316] - Out of memory (Java heap space) when synchronizing folders with many xml files

Category:
Bug report
Priority:
Normal
Status:
Feedback Requested
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

We're using Eclipse 4.4 with the latest Jaspersoft Studio Eclipse Plugin (6.1.0.final).
When I am synchronizing folders with hundreds of xml files (Team -> Synchronize), I get an out of memory error and the synchronizing is extremely slow. There's no problem if these folders with the many xml files are not selected during synchronization.
I have also no problem, when the Jaspersoft Studio Eclipse Plugin is not installed.

If there are many xml files during the synchronization I see a seperate Task in the Eclipse process dialog called "Updating Synchronize View for SVNStatusSubscribers". This process traverses the xml files (quite slow).
After several minutes the error ist "Java heap space, Could not create content describer for com.jaspersoft.studio.data.dataAdapter".
It seems that the Jaspersoft Studio is doing something with the DataAdapters, when synchronizing XML files.

volker.link's picture
Joined: Aug 5 2013 - 1:41am
Last seen: 3 years 1 month ago

1 Comment:

#1
  • Status:New» Feedback Requested

Hi,
just to have an idea what is the current configuration of your Eclipse.ini startup file?
Did you give it a try increasing the -Xmx and permsize details?

This is a bunch of settings we currently have in our product configuration file and that end up in the final .ini:

===========================
-Xms128m
-Xmx1024m
-XX:PermSize=128M
-XX:MaxPermSize=256M
-XX:+CMSClassUnloadingEnabled
-XX:+UseConcMarkSweepGC
-Dfile.encoding=UTF-8
-Djava.net.preferIPv4Stack=true
===========================

Regards,
Massimo.

Feedback
randomness