{"action":"created","issue":{"url":"https://api.github.com/repos/processing/processing/issues/3929","labels_url":"https://api.github.com/repos/processing/processing/issues/3929/labels{/name}","comments_url":"https://api.github.com/repos/processing/processing/issues/3929/comments","events_url":"https://api.github.com/repos/processing/processing/issues/3929/events","html_url":"https://github.com/processing/processing/issues/3929","id":109151453,"number":3929,"title":"\"Unknown error inside the compiler\" and OutOfMemoryError","user":{"login":"mark-fathom","id":8997701,"avatar_url":"https://avatars.githubusercontent.com/u/8997701?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-fathom","html_url":"https://github.com/mark-fathom","followers_url":"https://api.github.com/users/mark-fathom/followers","following_url":"https://api.github.com/users/mark-fathom/following{/other_user}","gists_url":"https://api.github.com/users/mark-fathom/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-fathom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-fathom/subscriptions","organizations_url":"https://api.github.com/users/mark-fathom/orgs","repos_url":"https://api.github.com/users/mark-fathom/repos","events_url":"https://api.github.com/users/mark-fathom/events{/privacy}","received_events_url":"https://api.github.com/users/mark-fathom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processing/processing/labels/macosx","name":"macosx","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-30T18:27:21Z","updated_at":"2015-10-01T02:51:34Z","closed_at":null,"body":"Seen on Mac OS X:\r\n```\r\nException in thread \"TimerQueue\" 2015-09-30 14:23:06.138 Processing[1729:508902] java.lang.OutOfMemoryError: Java heap space\r\n\tat java.util.concurrent.locks.AbstractQueuedSynchronizer.addWaiter(AbstractQueuedSynchronizer.java:606)\r\n\tat java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)\r\n\tat java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209)\r\n\tat java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)\r\n\tat java.awt.EventQueue.wakeup(EventQueue.java:1330)\r\n\tat java.awt.EventQueue.access$100(EventQueue.java:97)\r\n\tat java.awt.EventQueue$2.wakeup(EventQueue.java:213)\r\n\tat sun.awt.SunToolkit.wakeupEventQueue(SunToolkit.java:309)\r\n\tat sun.awt.PostEventQueue.postEvent(SunToolkit.java:2177)\r\n\tat sun.awt.SunToolkit.postEvent(SunToolkit.java:507)\r\n\tat sun.lwawt.LWToolkit.postEvent(LWToolkit.java:466)\r\n\tat sun.lwawt.LWComponentPeer.postEvent(LWComponentPeer.java:1164)\r\n\tat sun.lwawt.LWWindowPeer.postMouseExitedEvent(LWWindowPeer.java:907)\r\n\tat sun.lwawt.LWWindowPeer.notifyMouseEvent(LWWindowPeer.java:727)\r\n\tat sun.lwawt.macosx.CPlatformResponder.handleMouseEvent(CPlatformResponder.java:83)\r\n\tat sun.lwawt.macosx.CPlatformView.deliverMouseEvent(CPlatformView.java:197)\r\njava.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n2015-09-30 14:23:06.145 Processing[1729:508902] (\r\n\t0   CoreFoundation                      0x00007fff925a503c __exceptionPreprocess + 172\r\n\t1   libobjc.A.dylib                     0x00007fff8cb4476e objc_exception_throw + 43\r\n\t2   CoreFoundation                      0x00007fff925a4bd9 -[NSException raise] + 9\r\n\t3   JavaNativeFoundation                0x000000011d0d5539 JNFCallVoidMethod + 209\r\n\t4   libawt_lwawt.dylib                  0x000000011f2e8041 -[AWTView deliverJavaMouseEvent:] + 755\r\n\t5   AppKit                              0x00007fff95b9019a -[NSTrackingArea _dispatchMouseExited:] + 75\r\n\t6   AppKit                              0x00007fff95b900b3 -[NSTrackingArea _mouseExited:] + 95\r\n\t7   AppKit                              0x00007fff95ab2797 -[NSApplication sendEvent:] + 3917\r\n\t8   libosxapp.dylib                     0x000000011f3973ac -[NSApplicationAWT sendEvent:] + 265\r\n\t9   AppKit                              0x00007fff959dbb68 -[NSApplication run] + 711\r\n\t10  libosxapp.dylib                     0x000000011f39723e +[NSApplicationAWT runAWTLoopWithApp:] + 156\r\n\t11  libawt_lwawt.dylib                  0x000000011f32554b -[AWTStarter starter:] + 905\r\n\t12  Foundation                          0x00007fff8be2bdd0 __NSThreadPerformPerform + 293\r\n\t13  CoreFoundation                      0x00007fff924c1a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n\t14  CoreFoundation                      0x00007fff924b3b8d __CFRunLoopDoSources0 + 269\r\n\t15  CoreFoundation                      0x00007fff924b31bf __CFRunLoopRun + 927\r\n\t16  CoreFoundation                      0x00007fff924b2bd8 CFRunLoopRunSpecific + 296\r\n\t17  libjli.dylib                        0x0000000107f798fb CreateExecutionEnvironment + 871\r\n\t18  libjli.dylib                        0x0000000107f75644 JLI_Launch + 1952\r\n\t19  Processing                          0x0000000107f0e8ab launch + 5243\r\n\t20  Processing                          0x0000000107f0d2e6 main + 102\r\n\t21  Processing                          0x0000000107f0d274 start + 52\r\n)\r\n\tat processing.mode.java.Compiler.compile(Compiler.java:118)\r\n\tat processing.mode.java.JavaBuild.build(JavaBuild.java:159)\r\n\tat processing.mode.java.JavaBuild.build(JavaBuild.java:131)\r\n\tat processing.mode.java.JavaMode.handleLaunch(JavaMode.java:151)\r\n\tat processing.mode.java.JavaEditor$35.run(JavaEditor.java:1087)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.OutOfMemoryError: Java heap space\r\n\tat org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct.utf8At(ClassFileStruct.java:60)\r\n\tat org.eclipse.jdt.internal.compiler.classfmt.MethodInfo.createMethod(MethodInfo.java:50)\r\n\tat org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:278)\r\n\tat org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:138)\r\n\tat org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.read(ClassFileReader.java:116)\r\n\tat org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.read(ClassFileReader.java:104)\r\n\tat org.eclipse.jdt.internal.compiler.batch.ClasspathJar.findClass(ClasspathJar.java:98)\r\n\tat org.eclipse.jdt.internal.compiler.batch.FileSystem.findClass(FileSystem.java:262)\r\n\tat org.eclipse.jdt.internal.compiler.batch.FileSystem.findType(FileSystem.java:354)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:158)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getType(PackageBinding.java:145)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.Scope.findType(Scope.java:2038)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java:3350)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:3042)\r\n\tat org.eclipse.jdt.internal.compiler.ast.SingleTypeReference.getTypeBinding(SingleTypeReference.java:51)\r\n\tat org.eclipse.jdt.internal.compiler.ast.TypeReference.internalResolveType(TypeReference.java:472)\r\n\tat org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:571)\r\n\tat org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:567)\r\n\tat org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:541)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:1287)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:938)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:1095)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:323)\r\n\tat org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:227)\r\n\tat org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:746)\r\n\tat org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:383)\r\n\tat org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:428)\r\n\tat org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:4129)\r\n\tat org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1694)\r\n\tat org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1385)\r\n\tat org.eclipse.jdt.core.compiler.batch.BatchCompiler.compile(BatchCompiler.java:80)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nException in thread \"AWT-EventQueue-0\" java.lang.OutOfMemoryError: Java heap space\r\n\tat java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter(AbstractQueuedSynchronizer.java:1855)\r\n\tat java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2068)\r\n\tat javax.swing.TimerQueue.run(TimerQueue.java:192)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nprocessing.app.SketchException: Unknown error inside the compiler.\r\n\tat processing.mode.java.Compiler.compile(Compiler.java:121)\r\n\tat processing.mode.java.JavaBuild.build(JavaBuild.java:159)\r\n\tat processing.mode.java.JavaBuild.build(JavaBuild.java:131)\r\n\tat processing.mode.java.JavaMode.handleLaunch(JavaMode.java:151)\r\n\tat processing.mode.java.JavaEditor$35.run(JavaEditor.java:1087)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\njava.lang.OutOfMemoryError: Java heap space\r\n\tat java.awt.EventQueue.setCurrentEventAndMostRecentTimeImpl(EventQueue.java:1214)\r\n\tat java.awt.EventQueue.setCurrentEventAndMostRecentTime(EventQueue.java:1205)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4727)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2292)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2750)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4703)\r\n\tat java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)\r\n\tat java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:995)\r\n\tat java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:450)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4752)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2292)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2750)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4703)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:731)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:729)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:728)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n```\r\n\r\nand a second run produced:\r\n\r\n```\r\njava.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat processing.mode.java.Compiler.compile(Compiler.java:118)\r\n\tat processing.mode.java.JavaBuild.build(JavaBuild.java:159)\r\n\tat processing.mode.java.JavaBuild.build(JavaBuild.java:131)\r\n\tat processing.mode.java.JavaMode.handleLaunch(JavaMode.java:151)\r\n\tat processing.mode.java.JavaEditor$35.run(JavaEditor.java:1087)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.OutOfMemoryError: Java heap space\r\nprocessing.app.SketchException: Unknown error inside the compiler.\r\n\tat processing.mode.java.Compiler.compile(Compiler.java:121)\r\n\tat processing.mode.java.JavaBuild.build(JavaBuild.java:159)\r\n\tat processing.mode.java.JavaBuild.build(JavaBuild.java:131)\r\n\tat processing.mode.java.JavaMode.handleLaunch(JavaMode.java:151)\r\n\tat processing.mode.java.JavaEditor$35.run(JavaEditor.java:1087)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"},"comment":{"url":"https://api.github.com/repos/processing/processing/issues/comments/144601743","html_url":"https://github.com/processing/processing/issues/3929#issuecomment-144601743","issue_url":"https://api.github.com/repos/processing/processing/issues/3929","id":144601743,"user":{"login":"JakubValtar","id":3177098,"avatar_url":"https://avatars.githubusercontent.com/u/3177098?v=3","gravatar_id":"","url":"https://api.github.com/users/JakubValtar","html_url":"https://github.com/JakubValtar","followers_url":"https://api.github.com/users/JakubValtar/followers","following_url":"https://api.github.com/users/JakubValtar/following{/other_user}","gists_url":"https://api.github.com/users/JakubValtar/gists{/gist_id}","starred_url":"https://api.github.com/users/JakubValtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakubValtar/subscriptions","organizations_url":"https://api.github.com/users/JakubValtar/orgs","repos_url":"https://api.github.com/users/JakubValtar/repos","events_url":"https://api.github.com/users/JakubValtar/events{/privacy}","received_events_url":"https://api.github.com/users/JakubValtar/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T02:51:34Z","updated_at":"2015-10-01T02:51:34Z","body":"Fixed in #3934. Closed Editors were not garbage collected."}}