Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heap space #28

Open
drenda opened this issue Jul 26, 2014 · 1 comment
Open

Heap space #28

drenda opened this issue Jul 26, 2014 · 1 comment

Comments

@drenda
Copy link

drenda commented Jul 26, 2014

Hi, I've this error after some times my class try to load an external jar file.

java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3230)
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
at org.xeustechnologies.jcl.JarResources.loadJar(JarResources.java:201)
at org.xeustechnologies.jcl.JarResources.loadJar(JarResources.java:119)
at org.xeustechnologies.jcl.ClasspathResources.loadResource(ClasspathResources.java:262)
at org.xeustechnologies.jcl.ClasspathResources.loadResource(ClasspathResources.java:285)
at org.xeustechnologies.jcl.ClasspathResources.loadResource(ClasspathResources.java:285)
at org.xeustechnologies.jcl.ClasspathResources.loadResource(ClasspathResources.java:285)
at org.xeustechnologies.jcl.ClasspathResources.loadResource(ClasspathResources.java:285)
at org.xeustechnologies.jcl.ClasspathResources.loadResource(ClasspathResources.java:285)
at org.xeustechnologies.jcl.ClasspathResources.loadResource(ClasspathResources.java:246)
at org.xeustechnologies.jcl.JarClassLoader.add(JarClassLoader.java:141)

@lorenzop
Copy link

lorenzop commented Aug 6, 2014

could be caused by a memory leak in your program, or could just be it's not allocated enough memory for what it needs to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants