{"action":"created","issue":{"url":"https://api.github.com/repos/mupen64plus-ae/mupen64plus-ae/issues/476","labels_url":"https://api.github.com/repos/mupen64plus-ae/mupen64plus-ae/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/mupen64plus-ae/mupen64plus-ae/issues/476/comments","events_url":"https://api.github.com/repos/mupen64plus-ae/mupen64plus-ae/issues/476/events","html_url":"https://github.com/mupen64plus-ae/mupen64plus-ae/issues/476","id":109649594,"number":476,"title":"Occasional OOM error on rom settings?","user":{"login":"easyaspi314","id":6258309,"avatar_url":"https://avatars.githubusercontent.com/u/6258309?v=3","gravatar_id":"","url":"https://api.github.com/users/easyaspi314","html_url":"https://github.com/easyaspi314","followers_url":"https://api.github.com/users/easyaspi314/followers","following_url":"https://api.github.com/users/easyaspi314/following{/other_user}","gists_url":"https://api.github.com/users/easyaspi314/gists{/gist_id}","starred_url":"https://api.github.com/users/easyaspi314/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easyaspi314/subscriptions","organizations_url":"https://api.github.com/users/easyaspi314/orgs","repos_url":"https://api.github.com/users/easyaspi314/repos","events_url":"https://api.github.com/users/easyaspi314/events{/privacy}","received_events_url":"https://api.github.com/users/easyaspi314/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-03T22:42:08Z","updated_at":"2015-10-07T03:01:36Z","closed_at":null,"body":"Sometimes, when I click the ROM settings, (I can't consistently reproduce this), Mupen crashes with an OutOfMemoryError. Logcat:\r\n\r\n```\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): FATAL EXCEPTION: main\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): java.lang.OutOfMemoryError\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat java.lang.String.<init>(String.java:432)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat java.io.BufferedReader.readLine(BufferedReader.java:363)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat paulscode.android.mupen64plusae.cheat.CheatFile$CheatSection.<init>(CheatFile.java:349)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat paulscode.android.mupen64plusae.cheat.CheatFile$CheatSection.<init>(CheatFile.java:336)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat paulscode.android.mupen64plusae.cheat.CheatFile.reload(CheatFile.java:140)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat paulscode.android.mupen64plusae.cheat.CheatFile.<init>(CheatFile.java:105)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat paulscode.android.mupen64plusae.persistent.GamePrefsActivity.buildCheatsCategory(GamePrefsActivity.java:337)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat paulscode.android.mupen64plusae.persistent.GamePrefsActivity.refreshCheatsCategory(GamePrefsActivity.java:293)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat paulscode.android.mupen64plusae.persistent.GamePrefsActivity.onCreate(GamePrefsActivity.java:194)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.app.Activity.performCreate(Activity.java:5177)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.app.ActivityThread.access$700(ActivityThread.java:143)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.os.Looper.loop(Looper.java:137)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat android.app.ActivityThread.main(ActivityThread.java:4950)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat java.lang.reflect.Method.invoke(Method.java:511)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)\r\n10-02 14:47:20.876 E/AndroidRuntime(5741): \tat dalvik.system.NativeStart.main(Native Method)\r\n```\r\n\r\nI do have Xposed installed, but nothing directly modifies it. \r\nEdit: I do have a lot of custom cheats, but I didn't click the cheats menu directly.\r\nSamsung Galaxy S II Skyrocket SGH-i727\r\nAndroid 4.1.2 rooted\r\n1 GB RAM (788 MB recognized)"},"comment":{"url":"https://api.github.com/repos/mupen64plus-ae/mupen64plus-ae/issues/comments/146064726","html_url":"https://github.com/mupen64plus-ae/mupen64plus-ae/issues/476#issuecomment-146064726","issue_url":"https://api.github.com/repos/mupen64plus-ae/mupen64plus-ae/issues/476","id":146064726,"user":{"login":"fzurita","id":11581687,"avatar_url":"https://avatars.githubusercontent.com/u/11581687?v=3","gravatar_id":"","url":"https://api.github.com/users/fzurita","html_url":"https://github.com/fzurita","followers_url":"https://api.github.com/users/fzurita/followers","following_url":"https://api.github.com/users/fzurita/following{/other_user}","gists_url":"https://api.github.com/users/fzurita/gists{/gist_id}","starred_url":"https://api.github.com/users/fzurita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzurita/subscriptions","organizations_url":"https://api.github.com/users/fzurita/orgs","repos_url":"https://api.github.com/users/fzurita/repos","events_url":"https://api.github.com/users/fzurita/events{/privacy}","received_events_url":"https://api.github.com/users/fzurita/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T03:01:36Z","updated_at":"2015-10-07T03:01:36Z","body":"The biggest memory culprits right now seem to be the native libraries that we load into memory."}}