尝试运行应用程序时遇到永久空间问题。该应用程序有几个选择的数据库调用,然后尝试使用 Salesforce 连接器连接到 Salesforce 系统。但是,一旦我到达连接到 salesforce 的点,我总是从第一次部署中得到以下异常。cloudhub 上是否有一种方法可以让我进行分析或调试问题或给它更多内存?顺便说一句,我正在使用一个具有 1.5GB 内存的工作人员。
********************************************************************************
Message : PermGen space (java.lang.OutOfMemoryError). Message payload is of type: LinkedHashMap
Code : MULE_ERROR-29999
--------------------------------------------------------------------------------
Exception stack is:
1. PermGen space (java.lang.OutOfMemoryError)
java.lang.ClassLoader:-2 (null)
2. PermGen space (java.lang.OutOfMemoryError). Message payload is of type: LinkedHashMap (org.mule.api.MessagingException)
org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor:32 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************