Questions tagged [permanent-generation]

10 questions
125
votes
1 answer

static allocation in java - heap, stack and permanent generation

I have been lately reading a lot on memory allocation schemes in java, and there have been many doubts as I have been reading from various sources. I have collected my concepts, and I would request to go through all of the points and comment on…
dev
  • 11,071
  • 22
  • 74
  • 122
41
votes
5 answers

PermGen problems with Lift and Jetty

I'm developing on the standard Lift platform (maven and jetty). I'm repeatedly (once every couple of days) getting this: Exception in thread "7048009@qtp-3179125-12" java.lang.OutOfMemoryError: PermGen space 2009-09-15 19:41:38.629::WARN: handle…
Joe
  • 46,419
  • 33
  • 155
  • 245
11
votes
8 answers

How do I discover what is in the permanent generation

Given a heapdump or a running VM, how do I discover what the contents of the permanent generation is ? I know about 'jmap -permstat' but that's not available on Windows.
Tom
  • 55,743
  • 3
  • 27
  • 35
3
votes
1 answer

JVM performance tuning: young copy vs old generation gc

Hi: I have a multi thread Java application. There are many temporary objects. -XX:MaxTenuringThreshold=1, we put above parameter when starting JVM. This means all the objects would be survive once during gc, then it would be promoted to old…
user84592
  • 4,750
  • 11
  • 55
  • 91
1
vote
0 answers

OpenPose in Google Collab to be Permanent to my google drive?

Every time i use : https://colab.research.google.com/drive/1VDjRLKAu9KLQky0gv4RLJjeH6NRPiWXy?usp=sharing i have to wait about 35 min installing the openpose is there anway installing it permanent and avoid waiting installtion time everytime i use…
1
vote
0 answers

Permanent generation heap in DVM

Does DVM has same heap structure as JVM has? Does it have Permanent Gen. heap where all the Classes, info. related to that classes(e.g. class name, object array associated to that class, internal class descriptor), static member variables are stored…
dev_android
  • 8,698
  • 22
  • 91
  • 148
0
votes
6 answers

Permanent Generation : does the capacity of default value get fixed or will it grow as required?

we are noticing that our customer running Solaris 10 is having Permanent GC grow from 50% to 97% of capacity. This JVM was using the default value of "permgen" (we did NOT pass any custom Permgen FLAG to the JVM). Instead of running at 97% permgen…
anjanb
  • 12,999
  • 18
  • 77
  • 106
0
votes
7 answers

Permanently running executable

I created a winform (monitoring) application using VS 2005 (c#), and now, I have a problem when this application crashes for some reason, I have to be sure that it will be restarted automatically. How can I resolve this? (maybe by using windows…
bidak
  • 21
  • 7
0
votes
2 answers

Where does the Static members reside in memory,is it permanent generation?

Static members where does they reside. i need an detail explanation of static ,local and instance members memory allocation(variables,methods). Memory management(Is it permanent generation).
-1
votes
2 answers

Adding Custom permalink tags in wordpress

Basically what i want to achieve is to add a variable ?a=uk on the end of all the links of a wordpress blog Ive tried various solutions that i have read with similar problems to no avail im ideally after setting the permalinks to be…
Dave Roach
  • 34
  • 1
  • 3