I've been having a memory issue with my application server.
I'm using Jasper Reports to make all my reports.
Only when I print a specially complex report my server crashes and reboots. The report is printed correctly but the moment any client takes action after printing the report everything crashes.
I tried updating the heap memory from 64 to 256 but it seems to have no effect at all.
This is the exception trown in servoy log.
- Code: Select all
Exception in thread "2 way Server Acceptor" java.lang.OutOfMemoryError: unable to create new native thread
Filter trigger matched. Restarting JVM.
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
at com.servoy.j2db.rmi.ServerTwoWaySocketFactory$TwoWayServerSocket.run(ServerTwoWaySocketFactory.java:607)
at java.lang.Thread.run(Unknown Source)
I'm using Servoy 6.0 with Java 1.6.0_23.
Jasper version is 3.7.1 and my server runs with Win Server 2008
Any ideas??
Thanks for the help