Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

java heap space problem using JNLP

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
p1.png
[Thumbnail for p1.png]
P1
p2.png
[Thumbnail for p2.png]
P2
 
expectation is the root of all heartache - shakespeare. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic