• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.OutOfMemoryError: PermGen space in Glass Fish

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
I am getting error java.lang.OutOfMemoryError: PermGen space while deploying. I am using Glass Fish v3 prelude. For Tomcat we can add the size in log file, if this error occurred. But for Glass fish what shall i do . Where will be Glass Fish log file. Please help. Tanx in advance
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
First of all, I want to recommend this article on the subject: http://mediacast.sun.com/users/Frank.Kieviet/media/JavaOne07-BOF9982-PermGen.pdf
Second, what do you mean by "we can add the size in log file"???
Do you increase the size of perm gen space in a log file?!???

Anyway, if you are using GlassFish v3, you may want to consider having a look at the startup-scripts (startserv and startserv.bat) instead of the log files. There you should be able to add all the JVM parameters you want.
Best wishes!
 
Dexter Jesu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tanx dude for kind help
 
reply
    Bookmark Topic Watch Topic
  • New Topic