Article - CS51127

Permanent Generation (PermGen) low memory warning in Windchill

Modified: 15-May-2025   


Applies To

  • Windchill PDMLink 9.0 to 10.2
  • Windchill PDMLink 12.1
  • Oracle Java SDK 1.5, 1.6 and 7.0
  • HP Java SDK 5.0, 6.0 and 7.0
  • Note: does not apply to Java 8.0 (Windchill uses Java 8 since 11.0) - permGen is replaced with Metaspace

Description

  • How to change/increase/modify Permanent Generation settings?
  • Lack of Perm Gen will lead to Windchill not responding.
  • Lack of Perm Gen lead background method not responding.
  • Symptoms below will happen when lack of Perm Gen
    • Perm Gen low memory warnings in ServerManager, MethodServer, BackgroundMethodServer or Tomcat log:
Low Memory Detector: WARN : wt.jmx.notif.memory - Time=2012-09-25 22:00:47.937 +0000, Name=MemoryNotifier, SourceObjectName=com.ptc:wt.subsystem=Monitors,wt.monitorType=Memory, class=class javax.management.Notification, type=java.management.memory.collection.threshold.exceeded, userData=[count=1148,poolName=PS Perm Gen,usage=[committed=201326592,init=75497472,max=201326592,used=201325832]], message=Memory usage exceeds collection usage threshold...
  • JMX email notification sent:
Memory usage threshold exceeded
________________________________________
Class:    class javax.management.Notification
Message:    Memory usage exceeds collection usage threshold
SequenceNumber:    xxxx
Source (Direct):    com.ptc:wt.subsystem=Monitors,wt.monitorType=Memory
Source (Original):    java.lang:type=Memory
TimeStamp:    yyyy
Type:    java.management.memory.collection.threshold.exceeded
UserData:    count    xxxx
poolName    PS Perm Gen
  • Incident in PTC System Monitor (PSM):
Section Out-of-Memory on SUD
Out-of-Memory on Agent '<agent-name>': PermGen space.
  • JVM may run out of Perm Gen with error:
java.lang.OutOfMemoryError: PermGen space
  • On Server Status > Method Server Data > Memory In Use > Perm Gen value is red (usage over 95%)
This is a printer-friendly version of Article 51127 and may be out of date. For the latest version click CS51127