Topic
  • 7 replies
  • Latest Post - ‏2014-03-13T13:07:55Z by ibogdanov
KeithMcAlpine
KeithMcAlpine
3 Posts

Pinned topic ICN 2.0.2 WebSphere Out-of-Memory

‏2013-09-18T21:17:48Z |

Hi,

I have an image of Case Manager 5.1 running on the IBM SmartCloud.

I am trying to upgrade the ICN version there to 2.0.2. Unfortunately whenever I try, on the deployment step I get an Out of Memory error (using WAS 7).

I've tried the heap settings as found in tech note: http://www-01.ibm.com/support/docview.wss?uid=swg21647230 but to no avail. I also tried upping the values to 2 GB - still no joy.

Has anyone had any success with this?

Thanks

Keith

  • nicolas.leralle
    nicolas.leralle
    100 Posts

    Re: ICN 2.0.2 WebSphere Out-of-Memory

    ‏2013-09-19T12:01:58Z  

    Hi Keith,

     

    Can you provide the full error message received?

    Did you set the Xms / Xmx values in the wsadmin.bat, or in the JVM configuration in WebSphere?

     

    Best regards,

     

    Nicolas

  • KeithMcAlpine
    KeithMcAlpine
    3 Posts

    Re: ICN 2.0.2 WebSphere Out-of-Memory

    ‏2013-09-26T06:14:51Z  

    Hi Keith,

     

    Can you provide the full error message received?

    Did you set the Xms / Xmx values in the wsadmin.bat, or in the JVM configuration in WebSphere?

     

    Best regards,

     

    Nicolas

    Hi Nicolas,

    I updated the wsadmin.bat file. I saw that it was picked up by checking that the settings were passed through in the Process Explorer image details.

    The stack trace is:

    ************ Start Display Current Environment ************
    Log file started at: [9/12/13 6:54:27:860 UTC]
    ************* End Display Current Environment *************
    [9/12/13 7:17:25:378 UTC] 00000032 SystemErr     R Exception in thread "LT=0:P=874971:O=0:port=9101" java.lang.OutOfMemoryError
    [9/12/13 7:17:25:379 UTC] 00000032 SystemErr     R     at java.net.PlainSocketImpl.socketAccept(Native Method)
    [9/12/13 7:17:25:379 UTC] 00000032 SystemErr     R     at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:438)
    [9/12/13 7:17:25:380 UTC] 00000032 SystemErr     R     at java.net.ServerSocket.implAccept(ServerSocket.java:462)
    [9/12/13 7:17:25:381 UTC] 00000032 SystemErr     R     at java.net.ServerSocket.accept(ServerSocket.java:430)
    [9/12/13 7:17:25:381 UTC] 00000032 SystemErr     R     at com.ibm.rmi.transport.ListenerThread.run(ListenerThread.java:174)
    [9/12/13 7:17:27:728 UTC] 00000033 SystemErr     R Exception in thread "LT=1:P=874971:O=0:port=2810" java.lang.OutOfMemoryError
    [9/12/13 7:17:27:730 UTC] 00000033 SystemErr     R     at java.net.PlainSocketImpl.socketAccept(Native Method)
    [9/12/13 7:17:27:730 UTC] 00000033 SystemErr     R     at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:438)
    [9/12/13 7:17:27:730 UTC] 00000033 SystemErr     R     at java.net.ServerSocket.implAccept(ServerSocket.java:462)
    [9/12/13 7:17:27:731 UTC] 00000033 SystemErr     R     at java.net.ServerSocket.accept(ServerSocket.java:430)
    [9/12/13 7:17:27:731 UTC] 00000033 SystemErr     R     at com.ibm.rmi.transport.ListenerThread.run(ListenerThread.java:174)
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R java.lang.OutOfMemoryError
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R     at org.objectweb.asm.ClassReader.a(Unknown Source)
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R     at org.objectweb.asm.ClassReader.<init>(Unknown Source)
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.scan.util.ClassScanner.scanInputStream(ClassScanner.java:295)
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.scan.util.ClassScanner.scanInputStream(ClassScanner.java:267)
    [9/12/13 7:17:27:833 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.AnnotativeMetadataManagerImpl$1.applyTo(AnnotativeMetadataManagerImpl.java:263)
    [9/12/13 7:17:27:833 UTC] 00000034 SystemErr     R     at com.ibm.wsspi.amm.scan.context.ArchiveInputStreamData.iterate(ArchiveInputStreamData.java:241)
    [9/12/13 7:17:27:833 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.scan(AnnotativeMetadataManagerImpl.java:261)
    [9/12/13 7:17:27:834 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.scan(AnnotativeMetadataManagerImpl.java:222)
    [9/12/13 7:17:27:834 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.commonarchive.AnnotationsProcessorImpl.merge(AnnotationsProcessorImpl.java:108)
    [9/12/13 7:17:27:834 UTC] 00000034 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.processAnnotations(WARFileImpl.java:303)
    [9/12/13 7:17:27:835 UTC] 00000034 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:249)
    [9/12/13 7:17:27:835 UTC] 00000034 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:179)
    [9/12/13 7:17:27:835 UTC] 00000034 SystemErr     R     at com.ibm.ws.websvcs.deploy.PersistentStorageInstallTask.processClientBindings(PersistentStorageInstallTask.java:271)
    [9/12/13 7:17:27:836 UTC] 00000034 SystemErr     R     at com.ibm.ws.websvcs.deploy.PersistentStorageInstallTask.performTask(PersistentStorageInstallTask.java:162)
    [9/12/13 7:17:27:836 UTC] 00000034 SystemErr     R     at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:294)
    [9/12/13 7:17:28:269 UTC] 00000034 SystemErr     R     at java.lang.Thread.run(Thread.java:736)
    [9/12/13 9:56:18:594 UTC] 00000014 SystemErr     R Exception in thread "Deferrable Alarm : 1" java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
    [9/12/13 9:56:18:621 UTC] 00000026 SystemErr     R java.lang.OutOfMemoryError(?)Exception in thread "Deferrable Alarm : 3"
    [9/12/13 9:56:18:622 UTC] 00000014 SystemErr     R
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R     at java.lang.OutOfMemoryErrorjava.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R     at     at java.nio.ByteBuffer.com.ibm.ejs.util.am._Alarmallocate    at (java.net.URLClassLoaderByteBuffer.java.:3findClass1(URLClassLoader.java2):423)
    [9/12/13 9:56:18:623 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:623 UTC] 00000026 SystemErr     R sun.nio.cs.StreamEncoder$CharsetSE..<init>(    at StreamEncoder.javasun.misc.Launcher$ExtClassLoader:.31run7()_Alarm.java:13
    [9/12/13 9:56:18:624 UTC] 0000001b SystemErr     R 6    at sun.nio.cs.StreamEncoder$CharsetSE.)<init>(findClassStreamEncoder.java:297)
    [9/12/13 9:56:18:624 UTC] 0000001b SystemErr     R
    [9/12/13 9:56:18:624 UTC] 00000026 SystemErr     R     at (sun.nio.cs.StreamEncoder$CharsetSELauncher.java.<init>:(2StreamEncoder.java:62981))
    [9/12/13 9:56:18:624 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:624 UTC] 00000014 SystemErr     R     at sun.nio.cs.StreamEncoder.java.lang.ClassLoaderforOutputStreamWriter(.StreamEncoder.java:loadClass80()ClassLoader.java:660)
    [9/12/13 9:56:18:625 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:625 UTC] 00000026 SystemErr     R java.io.OutputStreamWriter    at .<init>(OutputStreamWriter.javajava.lang.ClassLoader:.1loadClass02()ClassLoader.java:652
    [9/12/13 9:56:18:625 UTC] 0000001b SystemErr     R     at     at java.io.PrintStreamcom.ibm.ws.util.ThreadPool$Worker.<init>)(PrintStream.java:113)
    [9/12/13 9:56:18:626 UTC] 00000026 SystemErr     R
    [9/12/13 9:56:18:626 UTC] 00000026 SystemErr     R     at     at java.io.PrintStream.sun.misc.Launcher$AppClassLoader<init>.(PrintStream.javarun(:7ThreadPool.java5).loadClass(Launcher.java
    [9/12/13 9:56:18:626 UTC] 00000014 SystemErr     R :    at 34com.ibm.ejs.ras.StreamEvent66.writeSelfToStream:(StreamEvent6.java1:16317))
    [9/12/13 9:56:18:627 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:627 UTC] 00000014 SystemErr     R     at com.ibm.ejs.ras.SystemStream.java.lang.ClassLoaderdoPrint(3SystemStream.java:.763loadClass)(ClassLoader.java:62
    [9/12/13 9:56:18:628 UTC] 0000001b SystemErr     R )    at com.ibm.ejs.ras.SystemStream.print(SystemStream.java:515)
    [9/12/13 9:56:18:628 UTC] 00000026 SystemErr     R
    [9/12/13 9:56:18:628 UTC] 00000026 SystemErr     R     at 6)com.ibm.ejs.ras.SystemErrStream.print(SystemErrStream.java:64)
    [9/12/13 9:56:18:628 UTC] 00000014 SystemErr     R     at
    [9/12/13 9:56:18:629 UTC] 00000014 SystemErr     R org.eclipse.osgi.framework.internal.core.BundleLoader    at java.lang.ThreadGroup..uncaughtExceptionfindClass(ThreadGroup.java(:BundleLoader.java77:7)363)
    [9/12/13 9:56:18:629 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:630 UTC] 00000026 SystemErr     R java.lang.ThreadGroup    at .uncaughtException(org.eclipse.osgi.framework.internal.core.BundleLoaderThreadGroup.java:.77findClass1)(BundleLoader.java:347
    [9/12/13 9:56:18:630 UTC] 00000026 SystemErr     R     at )java.lang.Thread.uncaughtException(Thread.java:121
    [9/12/13 9:56:18:630 UTC] 00000026 SystemErr     R 3)    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass
    [9/12/13 9:56:18:631 UTC] 00000014 SystemErr     R (    at java.lang.Throwable.fillInStackTraceDefaultClassLoader.java(Native Method):83)
    [9/12/13 9:56:18:631 UTC] 00000029 SystemErr     R     at
    [9/12/13 9:56:18:631 UTC] 00000029 SystemErr     R java.lang.Throwable    at .<init>java.lang.ClassLoader(.Throwable.javaloadClass:5(6ClassLoader.java):62
    [9/12/13 9:56:18:632 UTC] 00000014 SystemErr     R 6    at java.lang.Throwable.<init>)(Throwable.java:67)
    [9/12/13 9:56:18:632 UTC] 00000014 SystemErr     R
    [9/12/13 9:56:18:633 UTC] 00000029 SystemErr     R     at     at java.lang.OutOfMemoryError.com.ibm.ejs.util.am._Alarm<init>.(runOutOfMemoryError.java(:3_Alarm.java5):13java.lang.OutOfMemoryError
    [9/12/13 9:56:18:633 UTC] 00000029 SystemErr     R     at 6java.lang.String).substring(String.java:1
    [9/12/13 9:56:18:633 UTC] 00000029 SystemErr     R 0    at 91)
    [9/12/13 9:56:18:634 UTC] 00000029 SystemErr     R
    [9/12/13 9:56:18:634 UTC] 00000029 SystemErr     R     at com.ibm.oti.vm.MsgHelpcom.ibm.ws.util.ThreadPool$Worker.    at java.nio.charset.CharsetEncoderformat.isLegalReplacement(MsgHelp.java(:7CharsetEncoder.java.run(:ThreadPool.java3:114)613)
    [9/12/13 9:56:18:635 UTC] 00000029 SystemErr     R 2)
    [9/12/13 9:56:18:636 UTC] 00000027 SystemErr     R     at
    [9/12/13 9:56:18:636 UTC] 00000029 SystemErr     R     at java.nio.charset.CharsetEncoder.com.ibm.oti.util.MsgreplaceWith.(CharsetEncoder.javagetString:26(7)Msg.java:167)
    [9/12/13 9:56:18:637 UTC] 00000027 SystemErr     R     at
    [9/12/13 9:56:18:637 UTC] 00000029 SystemErr     R     at java.nio.charset.CharsetEncodercom.ibm.oti.util.Msg..getString<init>(Msg.java(:CharsetEncoder.java:8168)6)
    [9/12/13 9:56:18:637 UTC] 00000029 SystemErr     R
    [9/12/13 9:56:18:638 UTC] 00000027 SystemErr     R     at     at java.nio.charset.CharsetEncoder.java.lang.ThreadGroup<init>.uncaughtException(CharsetEncoder.java(ThreadGroup.java::270977))
    [9/12/13 9:56:18:638 UTC] 00000029 SystemErr     R     at
    [9/12/13 9:56:18:638 UTC] 00000027 SystemErr     R     at java.lang.ThreadGroupsun.nio.cs.SingleByteEncoder..<init>uncaughtException((SingleByteEncoder.javaThreadGroup.java::77413))
    [9/12/13 9:56:18:639 UTC] 00000027 SystemErr     R     at
    [9/12/13 9:56:18:639 UTC] 00000027 SystemErr     R sun.nio.cs.MS1252$Encoder    at .<init>java.lang.Thread.(MS1252.javauncaughtException(:Thread.java11:512)13)
    [9/12/13 9:56:18:640 UTC] 00000027 SystemErr     R
    [9/12/13 9:56:18:640 UTC] 00000027 SystemErr     R     at sun.nio.cs.MS1252.newEncoder(MS1252.java:43)
    [9/12/13 9:56:18:640 UTC] 00000027 SystemErr     R     at sun.nio.cs.StreamEncoder$CharsetSE.<init>(StreamEncoder.java:297)
    [9/12/13 9:56:18:641 UTC] 00000027 SystemErr     R     at sun.nio.cs.StreamEncoder$CharsetSE.<init>(StreamEncoder.java:281)
    [9/12/13 9:56:18:641 UTC] 00000027 SystemErr     R     at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:80)
    [9/12/13 9:56:18:641 UTC] 00000027 SystemErr     R     at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:102)
    [9/12/13 9:56:18:642 UTC] 00000027 SystemErr     R     at java.io.PrintStream.<init>(PrintStream.java:113)
    [9/12/13 9:56:18:642 UTC] 00000027 SystemErr     R     at java.io.PrintStream.<init>(PrintStream.java:75)
    [9/12/13 9:56:18:643 UTC] 00000027 SystemErr     R     at com.ibm.ejs.ras.StreamEvent6.writeSelfToStream(StreamEvent6.java:137)
    [9/12/13 9:56:18:643 UTC] 00000027 SystemErr     R     at com.ibm.ejs.ras.SystemStream.doPrint(SystemStream.java:763)
    [9/12/13 9:56:18:643 UTC] 00000027 SystemErr     R     at com.ibm.ejs.ras.SystemStream.print(SystemStream.java:515)
    [9/12/13 9:56:18:644 UTC] 00000027 SystemErr     R     at com.ibm.ejs.ras.SystemErrStream.print(SystemErrStream.java:64)
    [9/12/13 9:56:18:644 UTC] 00000027 SystemErr     R     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:777)
    [9/12/13 9:56:18:644 UTC] 00000027 SystemErr     R     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:771)
    [9/12/13 9:56:18:645 UTC] 00000027 SystemErr     R     at java.lang.Thread.uncaughtException(Thread.java:1213)
     

    Thanks for any feedback.

     

    Keith

  • nicolas.leralle
    nicolas.leralle
    100 Posts

    Re: ICN 2.0.2 WebSphere Out-of-Memory

    ‏2013-09-26T08:21:55Z  

    Hi Nicolas,

    I updated the wsadmin.bat file. I saw that it was picked up by checking that the settings were passed through in the Process Explorer image details.

    The stack trace is:

    ************ Start Display Current Environment ************
    Log file started at: [9/12/13 6:54:27:860 UTC]
    ************* End Display Current Environment *************
    [9/12/13 7:17:25:378 UTC] 00000032 SystemErr     R Exception in thread "LT=0:P=874971:O=0:port=9101" java.lang.OutOfMemoryError
    [9/12/13 7:17:25:379 UTC] 00000032 SystemErr     R     at java.net.PlainSocketImpl.socketAccept(Native Method)
    [9/12/13 7:17:25:379 UTC] 00000032 SystemErr     R     at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:438)
    [9/12/13 7:17:25:380 UTC] 00000032 SystemErr     R     at java.net.ServerSocket.implAccept(ServerSocket.java:462)
    [9/12/13 7:17:25:381 UTC] 00000032 SystemErr     R     at java.net.ServerSocket.accept(ServerSocket.java:430)
    [9/12/13 7:17:25:381 UTC] 00000032 SystemErr     R     at com.ibm.rmi.transport.ListenerThread.run(ListenerThread.java:174)
    [9/12/13 7:17:27:728 UTC] 00000033 SystemErr     R Exception in thread "LT=1:P=874971:O=0:port=2810" java.lang.OutOfMemoryError
    [9/12/13 7:17:27:730 UTC] 00000033 SystemErr     R     at java.net.PlainSocketImpl.socketAccept(Native Method)
    [9/12/13 7:17:27:730 UTC] 00000033 SystemErr     R     at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:438)
    [9/12/13 7:17:27:730 UTC] 00000033 SystemErr     R     at java.net.ServerSocket.implAccept(ServerSocket.java:462)
    [9/12/13 7:17:27:731 UTC] 00000033 SystemErr     R     at java.net.ServerSocket.accept(ServerSocket.java:430)
    [9/12/13 7:17:27:731 UTC] 00000033 SystemErr     R     at com.ibm.rmi.transport.ListenerThread.run(ListenerThread.java:174)
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R java.lang.OutOfMemoryError
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R     at org.objectweb.asm.ClassReader.a(Unknown Source)
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R     at org.objectweb.asm.ClassReader.<init>(Unknown Source)
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.scan.util.ClassScanner.scanInputStream(ClassScanner.java:295)
    [9/12/13 7:17:27:832 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.scan.util.ClassScanner.scanInputStream(ClassScanner.java:267)
    [9/12/13 7:17:27:833 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.AnnotativeMetadataManagerImpl$1.applyTo(AnnotativeMetadataManagerImpl.java:263)
    [9/12/13 7:17:27:833 UTC] 00000034 SystemErr     R     at com.ibm.wsspi.amm.scan.context.ArchiveInputStreamData.iterate(ArchiveInputStreamData.java:241)
    [9/12/13 7:17:27:833 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.scan(AnnotativeMetadataManagerImpl.java:261)
    [9/12/13 7:17:27:834 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.scan(AnnotativeMetadataManagerImpl.java:222)
    [9/12/13 7:17:27:834 UTC] 00000034 SystemErr     R     at com.ibm.ws.amm.commonarchive.AnnotationsProcessorImpl.merge(AnnotationsProcessorImpl.java:108)
    [9/12/13 7:17:27:834 UTC] 00000034 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.processAnnotations(WARFileImpl.java:303)
    [9/12/13 7:17:27:835 UTC] 00000034 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:249)
    [9/12/13 7:17:27:835 UTC] 00000034 SystemErr     R     at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java:179)
    [9/12/13 7:17:27:835 UTC] 00000034 SystemErr     R     at com.ibm.ws.websvcs.deploy.PersistentStorageInstallTask.processClientBindings(PersistentStorageInstallTask.java:271)
    [9/12/13 7:17:27:836 UTC] 00000034 SystemErr     R     at com.ibm.ws.websvcs.deploy.PersistentStorageInstallTask.performTask(PersistentStorageInstallTask.java:162)
    [9/12/13 7:17:27:836 UTC] 00000034 SystemErr     R     at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:294)
    [9/12/13 7:17:28:269 UTC] 00000034 SystemErr     R     at java.lang.Thread.run(Thread.java:736)
    [9/12/13 9:56:18:594 UTC] 00000014 SystemErr     R Exception in thread "Deferrable Alarm : 1" java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
    [9/12/13 9:56:18:621 UTC] 00000026 SystemErr     R java.lang.OutOfMemoryError(?)Exception in thread "Deferrable Alarm : 3"
    [9/12/13 9:56:18:622 UTC] 00000014 SystemErr     R
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R     at java.lang.OutOfMemoryErrorjava.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R     at     at java.nio.ByteBuffer.com.ibm.ejs.util.am._Alarmallocate    at (java.net.URLClassLoaderByteBuffer.java.:3findClass1(URLClassLoader.java2):423)
    [9/12/13 9:56:18:623 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:623 UTC] 00000026 SystemErr     R sun.nio.cs.StreamEncoder$CharsetSE..<init>(    at StreamEncoder.javasun.misc.Launcher$ExtClassLoader:.31run7()_Alarm.java:13
    [9/12/13 9:56:18:624 UTC] 0000001b SystemErr     R 6    at sun.nio.cs.StreamEncoder$CharsetSE.)<init>(findClassStreamEncoder.java:297)
    [9/12/13 9:56:18:624 UTC] 0000001b SystemErr     R
    [9/12/13 9:56:18:624 UTC] 00000026 SystemErr     R     at (sun.nio.cs.StreamEncoder$CharsetSELauncher.java.<init>:(2StreamEncoder.java:62981))
    [9/12/13 9:56:18:624 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:624 UTC] 00000014 SystemErr     R     at sun.nio.cs.StreamEncoder.java.lang.ClassLoaderforOutputStreamWriter(.StreamEncoder.java:loadClass80()ClassLoader.java:660)
    [9/12/13 9:56:18:625 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:625 UTC] 00000026 SystemErr     R java.io.OutputStreamWriter    at .<init>(OutputStreamWriter.javajava.lang.ClassLoader:.1loadClass02()ClassLoader.java:652
    [9/12/13 9:56:18:625 UTC] 0000001b SystemErr     R     at     at java.io.PrintStreamcom.ibm.ws.util.ThreadPool$Worker.<init>)(PrintStream.java:113)
    [9/12/13 9:56:18:626 UTC] 00000026 SystemErr     R
    [9/12/13 9:56:18:626 UTC] 00000026 SystemErr     R     at     at java.io.PrintStream.sun.misc.Launcher$AppClassLoader<init>.(PrintStream.javarun(:7ThreadPool.java5).loadClass(Launcher.java
    [9/12/13 9:56:18:626 UTC] 00000014 SystemErr     R :    at 34com.ibm.ejs.ras.StreamEvent66.writeSelfToStream:(StreamEvent6.java1:16317))
    [9/12/13 9:56:18:627 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:627 UTC] 00000014 SystemErr     R     at com.ibm.ejs.ras.SystemStream.java.lang.ClassLoaderdoPrint(3SystemStream.java:.763loadClass)(ClassLoader.java:62
    [9/12/13 9:56:18:628 UTC] 0000001b SystemErr     R )    at com.ibm.ejs.ras.SystemStream.print(SystemStream.java:515)
    [9/12/13 9:56:18:628 UTC] 00000026 SystemErr     R
    [9/12/13 9:56:18:628 UTC] 00000026 SystemErr     R     at 6)com.ibm.ejs.ras.SystemErrStream.print(SystemErrStream.java:64)
    [9/12/13 9:56:18:628 UTC] 00000014 SystemErr     R     at
    [9/12/13 9:56:18:629 UTC] 00000014 SystemErr     R org.eclipse.osgi.framework.internal.core.BundleLoader    at java.lang.ThreadGroup..uncaughtExceptionfindClass(ThreadGroup.java(:BundleLoader.java77:7)363)
    [9/12/13 9:56:18:629 UTC] 00000026 SystemErr     R     at
    [9/12/13 9:56:18:630 UTC] 00000026 SystemErr     R java.lang.ThreadGroup    at .uncaughtException(org.eclipse.osgi.framework.internal.core.BundleLoaderThreadGroup.java:.77findClass1)(BundleLoader.java:347
    [9/12/13 9:56:18:630 UTC] 00000026 SystemErr     R     at )java.lang.Thread.uncaughtException(Thread.java:121
    [9/12/13 9:56:18:630 UTC] 00000026 SystemErr     R 3)    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass
    [9/12/13 9:56:18:631 UTC] 00000014 SystemErr     R (    at java.lang.Throwable.fillInStackTraceDefaultClassLoader.java(Native Method):83)
    [9/12/13 9:56:18:631 UTC] 00000029 SystemErr     R     at
    [9/12/13 9:56:18:631 UTC] 00000029 SystemErr     R java.lang.Throwable    at .<init>java.lang.ClassLoader(.Throwable.javaloadClass:5(6ClassLoader.java):62
    [9/12/13 9:56:18:632 UTC] 00000014 SystemErr     R 6    at java.lang.Throwable.<init>)(Throwable.java:67)
    [9/12/13 9:56:18:632 UTC] 00000014 SystemErr     R
    [9/12/13 9:56:18:633 UTC] 00000029 SystemErr     R     at     at java.lang.OutOfMemoryError.com.ibm.ejs.util.am._Alarm<init>.(runOutOfMemoryError.java(:3_Alarm.java5):13java.lang.OutOfMemoryError
    [9/12/13 9:56:18:633 UTC] 00000029 SystemErr     R     at 6java.lang.String).substring(String.java:1
    [9/12/13 9:56:18:633 UTC] 00000029 SystemErr     R 0    at 91)
    [9/12/13 9:56:18:634 UTC] 00000029 SystemErr     R
    [9/12/13 9:56:18:634 UTC] 00000029 SystemErr     R     at com.ibm.oti.vm.MsgHelpcom.ibm.ws.util.ThreadPool$Worker.    at java.nio.charset.CharsetEncoderformat.isLegalReplacement(MsgHelp.java(:7CharsetEncoder.java.run(:ThreadPool.java3:114)613)
    [9/12/13 9:56:18:635 UTC] 00000029 SystemErr     R 2)
    [9/12/13 9:56:18:636 UTC] 00000027 SystemErr     R     at
    [9/12/13 9:56:18:636 UTC] 00000029 SystemErr     R     at java.nio.charset.CharsetEncoder.com.ibm.oti.util.MsgreplaceWith.(CharsetEncoder.javagetString:26(7)Msg.java:167)
    [9/12/13 9:56:18:637 UTC] 00000027 SystemErr     R     at
    [9/12/13 9:56:18:637 UTC] 00000029 SystemErr     R     at java.nio.charset.CharsetEncodercom.ibm.oti.util.Msg..getString<init>(Msg.java(:CharsetEncoder.java:8168)6)
    [9/12/13 9:56:18:637 UTC] 00000029 SystemErr     R
    [9/12/13 9:56:18:638 UTC] 00000027 SystemErr     R     at     at java.nio.charset.CharsetEncoder.java.lang.ThreadGroup<init>.uncaughtException(CharsetEncoder.java(ThreadGroup.java::270977))
    [9/12/13 9:56:18:638 UTC] 00000029 SystemErr     R     at
    [9/12/13 9:56:18:638 UTC] 00000027 SystemErr     R     at java.lang.ThreadGroupsun.nio.cs.SingleByteEncoder..<init>uncaughtException((SingleByteEncoder.javaThreadGroup.java::77413))
    [9/12/13 9:56:18:639 UTC] 00000027 SystemErr     R     at
    [9/12/13 9:56:18:639 UTC] 00000027 SystemErr     R sun.nio.cs.MS1252$Encoder    at .<init>java.lang.Thread.(MS1252.javauncaughtException(:Thread.java11:512)13)
    [9/12/13 9:56:18:640 UTC] 00000027 SystemErr     R
    [9/12/13 9:56:18:640 UTC] 00000027 SystemErr     R     at sun.nio.cs.MS1252.newEncoder(MS1252.java:43)
    [9/12/13 9:56:18:640 UTC] 00000027 SystemErr     R     at sun.nio.cs.StreamEncoder$CharsetSE.<init>(StreamEncoder.java:297)
    [9/12/13 9:56:18:641 UTC] 00000027 SystemErr     R     at sun.nio.cs.StreamEncoder$CharsetSE.<init>(StreamEncoder.java:281)
    [9/12/13 9:56:18:641 UTC] 00000027 SystemErr     R     at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:80)
    [9/12/13 9:56:18:641 UTC] 00000027 SystemErr     R     at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:102)
    [9/12/13 9:56:18:642 UTC] 00000027 SystemErr     R     at java.io.PrintStream.<init>(PrintStream.java:113)
    [9/12/13 9:56:18:642 UTC] 00000027 SystemErr     R     at java.io.PrintStream.<init>(PrintStream.java:75)
    [9/12/13 9:56:18:643 UTC] 00000027 SystemErr     R     at com.ibm.ejs.ras.StreamEvent6.writeSelfToStream(StreamEvent6.java:137)
    [9/12/13 9:56:18:643 UTC] 00000027 SystemErr     R     at com.ibm.ejs.ras.SystemStream.doPrint(SystemStream.java:763)
    [9/12/13 9:56:18:643 UTC] 00000027 SystemErr     R     at com.ibm.ejs.ras.SystemStream.print(SystemStream.java:515)
    [9/12/13 9:56:18:644 UTC] 00000027 SystemErr     R     at com.ibm.ejs.ras.SystemErrStream.print(SystemErrStream.java:64)
    [9/12/13 9:56:18:644 UTC] 00000027 SystemErr     R     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:777)
    [9/12/13 9:56:18:644 UTC] 00000027 SystemErr     R     at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:771)
    [9/12/13 9:56:18:645 UTC] 00000027 SystemErr     R     at java.lang.Thread.uncaughtException(Thread.java:1213)
     

    Thanks for any feedback.

     

    Keith

    Keith,

     

    Could you please post the content of your wsadmin.bat file, and give the message displayed when executing the deployapplication task (in command line with configmgr_cl).

     

    The stack trace:

     

    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R     at java.lang.OutOfMemoryErrorjava.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R     at     at java.nio.ByteBuffer.com.ibm.ejs.util.am._Alarmallocate    at (java.net.URLClassLoaderByteBuffer.java.:3findClass1(URLClassLoader.java2):423)

     

    Seems to says that the heap size allocation isn't sufficient.

     

    Best regards,

     

    Nicolas

  • jajuanMike
    jajuanMike
    38 Posts

    Re: ICN 2.0.2 WebSphere Out-of-Memory

    ‏2013-09-26T14:36:30Z  

    Keith,

     

    Could you please post the content of your wsadmin.bat file, and give the message displayed when executing the deployapplication task (in command line with configmgr_cl).

     

    The stack trace:

     

    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R     at java.lang.OutOfMemoryErrorjava.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R
    [9/12/13 9:56:18:622 UTC] 00000026 SystemErr     R     at     at java.nio.ByteBuffer.com.ibm.ejs.util.am._Alarmallocate    at (java.net.URLClassLoaderByteBuffer.java.:3findClass1(URLClassLoader.java2):423)

     

    Seems to says that the heap size allocation isn't sufficient.

     

    Best regards,

     

    Nicolas

    How much free memory available on the machine and what's the total memory on the machine?

  • KeithMcAlpine
    KeithMcAlpine
    3 Posts

    Re: ICN 2.0.2 WebSphere Out-of-Memory

    ‏2013-09-29T21:00:20Z  

    How much free memory available on the machine and what's the total memory on the machine?

    Hi,

    The VM is a silver smartcloud image, so is running with just 8GB memory. Before starting the config manager, if had 3GB free.

    I've managed to get the install completed by:

    Using -Xms2048m -Xmx2048m within the wsadmin.bat as mentioned in other threads and the technote; AND

    Shutting down all other WAS instances (P8Node, WebForm) and Processes (e.g. Process Engine Manager) that are not required for the actual deployment step.

    Once these were done, the deployment step completed successfully.

    Thanks for the help.

    Keith

  • nicolas.leralle
    nicolas.leralle
    100 Posts

    Re: ICN 2.0.2 WebSphere Out-of-Memory

    ‏2013-09-30T08:38:38Z  

    Hi,

    The VM is a silver smartcloud image, so is running with just 8GB memory. Before starting the config manager, if had 3GB free.

    I've managed to get the install completed by:

    Using -Xms2048m -Xmx2048m within the wsadmin.bat as mentioned in other threads and the technote; AND

    Shutting down all other WAS instances (P8Node, WebForm) and Processes (e.g. Process Engine Manager) that are not required for the actual deployment step.

    Once these were done, the deployment step completed successfully.

    Thanks for the help.

    Keith

    You should retry with a Xms to 1024, it works for me and it will avoid to shutdown all other WAS instances.

    Best regards,

    Nicolas

  • ibogdanov
    ibogdanov
    2 Posts

    Re: ICN 2.0.2 WebSphere Out-of-Memory

    ‏2014-03-13T13:07:55Z  

    You should retry with a Xms to 1024, it works for me and it will avoid to shutdown all other WAS instances.

    Best regards,

    Nicolas

    Ok, try to look at WebSphere/AppServer/bin/wsadmin.sh file at lines 76-86

     

    Good luck!