This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes java heap space problem using JNLP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "java heap space problem using JNLP" Watch "java heap space problem using JNLP" New topic
Author

java heap space problem using JNLP

harry tasawar
Greenhorn

Joined: Nov 27, 2013
Posts: 4
Hey all,
I have a little experience working with JNLP so i am having some trouble regarding the heap space problem. My application needs to have a suitable amount of heap space available so what i did was to change the heap size in the jnlp like this:




Now, when i run the app,it gives me these strange lines in the java console when applet call is made :


handleLaunchJVM(): RemoteJVMLauncher.setCallBack for 11
handleLaunchJVM(): now unregisterApplet 11


and opens up a new java console. And then in that console, the applet runs. ( See attachment P1 for more info)

Now, after the applet runs it gives me this beautiful message:


Exception in thread "Thread-17" java.lang.OutOfMemoryError: Java heap space
at com.AppletTakesParams.download(AppletTakesParams.java:101)
at com.AppletTakesParams.access$0(AppletTakesParams.java:78)
at com.AppletTakesParams$1.run(AppletTakesParams.java:41)



(See attachment P2 for more info)


What am i doing wrong with the JNLP? Can someone please help me.
Also i am using the java version 7 update 45.

Please.any help would be appreciated.

Thanks.



[Thumbnail for p1.png]


[Thumbnail for p2.png]

 
jQuery in Action, 2nd edition
 
subject: java heap space problem using JNLP
 
Similar Threads
max-heap-size of greater than 256m causes JWS to restart
Do jnlp file updates itself
The Nasty NullPointerException in findAplletJKDLevel()
certificate error
dynamic jnlp missing application-desc tag in jsp