[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Out of memory exception with aspectj
|
Thanks Andy,
For lower versions compatibility, i
am so far using version 1.5
I will test with version 1.8 and will
update you.
For further information, There is a
thread running the weaving code, which is actually blocking 2 application
threads. The thread stack trace is
"Thread-21" TID:0x0000000116A4AE00,
j9thread_t:0x0000000116A1DD40, state:R, prio=5
(native thread
ID:0xB90699, native priority:0x5, native policy:UNKNOWN)
at
java/util/Arrays.copyOfRange(Bytecode PC:31(Compiled Code))
at
java/util/Arrays.copyOf(Bytecode PC:31(Compiled Code))
at
java/io/ByteArrayOutputStream.write(ByteArrayOutputStream.java:105(Compiled
Code))
at
java/io/PrintStream.write(PrintStream.java(Compiled Code))
at
sun/nio/cs/StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:355(Compiled
Code))
at
sun/nio/cs/StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:425(Compiled
Code))
at
sun/nio/cs/StreamEncoder.flushBuffer(StreamEncoder.java:137(Compiled Code))
at
java/io/OutputStreamWriter.flushBuffer(OutputStreamWriter.java:179(Compiled
Code))
at
java/io/PrintStream.write(PrintStream.java:490(Compiled Code))
at
java/io/PrintStream.print(PrintStream.java:632(Compiled Code))
at
java/io/PrintStream.println(PrintStream.java:769(Compiled Code))
at org/aspectj/weaver/bcel/LazyMethodGen$BodyPrinter.printRangeString(LazyMethodGen.java:697(Compiled
Code))
at org/aspectj/weaver/bcel/LazyMethodGen$BodyPrinter.print(LazyMethodGen.java:680(Compiled
Code))
at org/aspectj/weaver/bcel/LazyMethodGen$BodyPrinter.run(LazyMethodGen.java:616(Compiled
Code))
at org/aspectj/weaver/bcel/LazyMethodGen.print(LazyMethodGen.java:571(Compiled
Code))
at org/aspectj/weaver/bcel/LazyClassGen.printOne(LazyClassGen.java:786)
at org/aspectj/weaver/bcel/LazyClassGen.print(LazyClassGen.java:747)
at org/aspectj/weaver/bcel/LazyClassGen.toLongString(LazyClassGen.java:737)
at
org/aspectj/weaver/bcel/BcelWeaver.weave(BcelWeaver.java:1598)
at
org/aspectj/weaver/bcel/BcelWeaver.weaveWithoutDump(BcelWeaver.java:1525(Compiled
Code))
at
org/aspectj/weaver/bcel/BcelWeaver.weaveAndNotify(BcelWeaver.java:1304(Compiled
Code))
at
org/aspectj/weaver/bcel/BcelWeaver.weave(BcelWeaver.java:1127(Compiled
Code))
at
org/aspectj/weaver/tools/WeavingAdaptor.getWovenBytes(WeavingAdaptor.java:284(Compiled
Code))
at
org/aspectj/weaver/tools/WeavingAdaptor.weaveClass(WeavingAdaptor.java:211(Compiled
Code))
at
org/aspectj/weaver/loadtime/Aj.preProcess(Aj.java:65(Compiled Code))
at
org/aspectj/weaver/loadtime/ClassPreProcessorAgentAdapter.transform(ClassPreProcessorAgentAdapter.java:55(Compiled
Code))
at
sun/instrument/TransformerManager.transform(TransformerManager.java:181(Compiled
Code))
at
sun/instrument/InstrumentationImpl.transform(InstrumentationImpl.java:377(Compiled
Code))
at
java/lang/ClassLoader.defineClassImpl(Native Method)
at
java/lang/ClassLoader.defineClass(ClassLoader.java:265(Compiled Code))
at
java/security/SecureClassLoader.defineClass(Bytecode PC:29(Compiled Code))
at
java/net/URLClassLoader.defineClass(URLClassLoader.java:493(Compiled Code))
at
java/net/URLClassLoader.access$300(URLClassLoader.java:64(Compiled Code))
at
java/net/URLClassLoader$ClassFinder.run(URLClassLoader.java:888(Compiled
Code))
at
java/security/AccessController.doPrivileged(AccessController.java:284)
at
java/net/URLClassLoader.findClass(URLClassLoader.java:414(Compiled Code))
at
java/lang/ClassLoader.loadClass(ClassLoader.java:643(Compiled Code))
at
sun/misc/Launcher$AppClassLoader.loadClass(Launcher.java:300(Compiled Code))
at
java/lang/ClassLoader.loadClass(ClassLoader.java:609(Compiled Code))
at
com/tcs/ncs/stp/delegates/NtfctnPmntAdviceSTP.callServiceImpl(NtfctnPmntAdviceSTP.java:212)
at
com/tcs/ncs/stp/NCSServiceDelegate.callService(NCSServiceDelegate.java:444(Compiled
Code))
at
sun/reflect/GeneratedMethodAccessor8.invoke(Bytecode PC:40)
at
sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37(Compiled
Code))
at
java/lang/reflect/Method.invoke(Method.java:577(Compiled Code))
at
com/tcs/ncs/nap/stp/STPController.invokeBusinessDelegate(STPController.java:334(Compiled
Code))
at
com/tcs/ncs/nap/stp/STPController.processMessage(STPController.java:159(Compiled
Code))
at
com/tcs/ncs/nap/stp/STPQueueReceiver.onMessage(STPQueueReceiver.java:111(Compiled
Code))
at
com/tcs/ncs/nap/stp/STPTaskHandler.doWork(STPTaskHandler.java:75)
at
com/tcs/ncs/nap/stp/STPTaskHandler.execute(STPTaskHandler.java:368(Compiled
Code))
at
com/tcs/ncs/nap/core/WorkerThread.run(WorkerThread.java:446)
Thanks,
Krishna=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you