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

java.lang.OutOfMemoryError: Java heap space #707

Open
SPGoding opened this issue Jun 24, 2021 · 3 comments
Open

java.lang.OutOfMemoryError: Java heap space #707

SPGoding opened this issue Jun 24, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@SPGoding
Copy link
Member

SPGoding commented Jun 24, 2021

The Bug

13:07:17.645 [main] INFO  Arisa - [RESPONSE] [MCPE-131091] [UpdateLinked] Successful
13:09:01.804 [main] INFO  Arisa - [RESPONSE] [MCPE-43402] [UpdateLinked] Successful
13:11:39.466 [main] INFO  Arisa - [RESPONSE] [MCPE-40709] [UpdateLinked] Successful
13:12:22.595 [main] INFO  Arisa - [RESPONSE] [REALMS-3620] [UpdateLinked] Successful
16:44:16.480 [main] INFO  Arisa - [RESPONSE] [MCPE-62278] [UpdateLinked] Successful
16:44:16.484 [main] ERROR Arisa - [RESPONSE] [MCPE-122850] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
        at java.base/java.util.Arrays.copyOf(Arrays.java:3689)
        at java.base/java.util.ArrayList.grow(ArrayList.java:238)
        at java.base/java.util.ArrayList.grow(ArrayList.java:243)
        at java.base/java.util.ArrayList.add(ArrayList.java:486)
        at java.base/java.util.ArrayList.add(ArrayList.java:499)
        at org.apache.commons.collections.map.ListOrderedMap.put(ListOrderedMap.java:215)
        at net.sf.json.JSONObject._setInternal(JSONObject.java:2691)
        at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)
        at net.sf.json.JSONObject._fromJSONObject(JSONObject.java:944)
        at net.sf.json.JSONObject.fromObject(JSONObject.java:155)
        at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:108)
        at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:238)
        at net.sf.json.JSONArray._processValue(JSONArray.java:2513)
        at net.sf.json.JSONArray.processValue(JSONArray.java:2538)
        at net.sf.json.JSONArray.addValue(JSONArray.java:2525)
        at net.sf.json.JSONArray._fromJSONArray(JSONArray.java:1096)
        at net.sf.json.JSONArray.fromObject(JSONArray.java:121)
        at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:105)
        at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:238)
        at net.sf.json.JSONObject._processValue(JSONObject.java:2655)
        at net.sf.json.JSONObject.processValue(JSONObject.java:2721)
        at net.sf.json.JSONObject.element(JSONObject.java:1786)
        at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:1036)
        at net.sf.json.JSONObject.fromObject(JSONObject.java:159)
        at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348)
        at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:1008)
        at net.sf.json.JSONObject.fromObject(JSONObject.java:159)
        at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348)
        at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:1008)
        at net.sf.json.JSONObject.fromObject(JSONObject.java:159)
        at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348)
        at net.sf.json.JSONArray._fromJSONTokener(JSONArray.java:1131)
16:44:16.485 [main] ERROR Arisa - [RESPONSE] [MCPE-123020] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.485 [main] ERROR Arisa - [RESPONSE] [MCPE-117534] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.486 [main] ERROR Arisa - [RESPONSE] [MCPE-115987] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.486 [main] ERROR Arisa - [RESPONSE] [MCPE-122535] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.486 [main] ERROR Arisa - [RESPONSE] [MCPE-117521] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.487 [main] ERROR Arisa - [RESPONSE] [MCPE-119356] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.487 [main] ERROR Arisa - [RESPONSE] [MCPE-122694] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.487 [main] ERROR Arisa - [RESPONSE] [MCPE-115521] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.487 [main] ERROR Arisa - [RESPONSE] [MCPE-120434] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.487 [main] ERROR Arisa - [RESPONSE] [MCPE-119443] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.487 [main] ERROR Arisa - [RESPONSE] [MCPE-123151] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.488 [main] ERROR Arisa - [RESPONSE] [MCPE-90983] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.488 [main] ERROR Arisa - [RESPONSE] [MCPE-117283] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.488 [main] ERROR Arisa - [RESPONSE] [MCPE-115564] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.488 [main] ERROR Arisa - [RESPONSE] [MCPE-112844] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.494 [main] ERROR Arisa - [RESPONSE] [MCPE-122969] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.495 [main] ERROR Arisa - [RESPONSE] [MCPE-111020] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space
16:44:16.495 [main] ERROR Arisa - [RESPONSE] [MCPE-113081] [UpdateLinked] Failed
java.lang.OutOfMemoryError: Java heap space

Example Ticket

Expected behavior

@SPGoding SPGoding added the bug Something isn't working label Jun 24, 2021
@Marcono1234
Copy link
Contributor

The REST JSON response for neither MCPE-122850 nor MCPE-123020 seems to be that large, so we probably have a memory leak?
Was someone with access to the server able to take a heap dump?

@SPGoding
Copy link
Member Author

Sorry, I didn't take one before restarting it.

@Marcono1234
Copy link
Contributor

No worries, but might be good to keep in mind in case an OutOfMemoryError occurs again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants