0

尝试运行应用程序时遇到永久空间问题。该应用程序有几个选择的数据库调用,然后尝试使用 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)
********************************************************************************
4

2 回答 2

2

如果您使用的是 Mule 3.6.1 worker,这是一个很快就会解决的已知问题。不幸的是,Mule 3.6.1 CH 工作人员的 permgen 设置较低。您能否尝试降级到 Mule 3.6.0 并查看问题是否仍然存在?

高温下,

贾斯汀

于 2015-04-20T09:06:19.287 回答
0

在cloudhub中增加worker再试一次。示例:如果您使用的是 0.1 v 核心,请尝试增加到 0.2v 核心。

于 2015-04-19T02:07:07.557 回答