Jump to content
JasperReports Library 7.0 is now available ×

Why Jaspersoft Studio Allocate gigabytes when open a report or just place a static textbox?


bence6811

Recommended Posts

Every time I open a jrxml file the JasperSoft Studio start to allocate almost 5 gigabytes from my ssd. the ssd usuage is 100% and JasperSoft is freezing till it eat up the space from my disk. Also this is happening randomly when I want to place a new static text box or what ever in my report. when I close the Studio I get back the allocated gigabytes but not every time since tha last I lost 20 gigs that I cannot fing anywhere. When I use jaspersoft it always freezes randomly because it starts to use the disk 100%. Once I try to place a text field and it freezed out as always allocate 0.5 gigs from my disk it takes 30 seconds  then when I can continue to make my report at the same timeI get back that 0.5 gigs. 

It happens with 6.5.1 and 6.9 too.

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Have a look at the Virtualizer settings:

Preferences > Jaspersoft Studio > Report Execution

JasperPrint objects created when you run a report in Studio use these settings.

 

Also I find the default Java memory settings for Studio to be light.

Edit the Jaspersoft Studio.ini file to give more memory, which will improve performance.

These are vmargs I set:

-vmargs
-Xms128m
-Xmx2048m
-Dfile.encoding=UTF-8
-Djava.net.preferIPv4Stack=true
 

remove the:

-XX:+CMSClassUnloadingEnabled
-XX:+UseConcMarkSweepGC
 

Not useful in later versions of Java 8 that Studio uses.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...