[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OutOfMemory errors
Heyaz,
I have small problem with soot, I have 94464k of memory and 136072k
of swap, the memory usage on my machine is small, besides from a X
footprint. Yet soot seems to run with 10 threads and within a matter
a few minutes consumes over 72M of memory.
$ java soot.Main --version
Soot version 1.2.3 (build 1.2.3.dev.4)
< ... snipped for brevity ... >
$ soot -app -d o_class/ --soot-classpath $CLASSPATH com.xlnt.Main
Soot started on Wed Oct 23 14:59:12 GMT 2002
java.lang.OutOfMemoryError
$
The project that I'm running it on is only 1.5M, so you can imagen
my amazement. Limiting the heap with -Xmx seems only to exhaust the
program permaturely. (c:
< ... snipped for brevity ... >
Warning: java.awt.event.ContainerListener is a phantom class!
Warning: java.awt.event.ContainerEvent is a phantom class!
Warning: javax.swing.DefaultDesktopManager is a phantom class!
Warning: javax.swing.JInternalFrame$JDesktopIcon is a phantom class!
java.lang.NullPointerException
at soot.Hierarchy.<init>(Hierarchy.java:118)
at soot.jimple.toolkits.invoke.ClassHierarchyAnalysis.newInvokeGraph(ClassHierarchyAnalysis.java:56)
at soot.jimple.toolkits.invoke.ClassHierarchyAnalysis.newInvokeGraph(ClassHierarchyAnalysis.java:42)
at soot.jimple.toolkits.invoke.InvokeGraphBuilder.internalTransform(InvokeGraphBuilder.java:47)
at soot.SceneTransformer.transform(SceneTransformer.java:46)
at soot.SceneTransformer.transform(SceneTransformer.java:58)
at soot.jimple.toolkits.invoke.StaticInliner.internalTransform(StaticInliner.java:61)
at soot.SceneTransformer.transform(SceneTransformer.java:46)
at soot.Pack.apply(Pack.java:79)
at soot.Main.run(Main.java:1611)
at java.lang.Thread.run(Thread.java:536)
blaze your trail
--
redhat
'I am become Shiva, destroyer of worlds'