-
Notifications
You must be signed in to change notification settings - Fork 1.7k
OutOfMemoryError: Java heap space #2764
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
Comments
Added Triaged label. |
Set owner to @devoncarew. |
[user feedback] If you open too many tabs (40+), modify each file, then close all tabs. Dart Editor runs out of memory and freezes. java.lang.OutOfMemoryError: Java heap space Changed the title to: "OutOfMemoryError: Java heap space". |
[user feedback] talks up all memory then rebooted the mac. |
Added this to the M1 milestone. |
closing this out as I believe our last round of profiling and bug fixes largely addressed this Added Fixed label. |
a7e448b2 pub upgrade --major-versions (#2784) 06bcff09 pub upgrade foo, only unlocks foo from pubspec.lock (#2781) aa20a4bd Usage exceptions no stacktrace (#2776) 14e12bf6 Clarify error message when spawning a subprocess fails (#2763) 5ef0a0e7 Added a pub upgrade --nullsafety mode (#2741) 9cde2406 Fix pub remove --dry-run (#2774) 7426be94 Remove hack now issue has been fixed (#2773) 90a1f776 Limit retries in test to avoid timeout (#2765) 3aa327c7 Stop depending on .packages (#2764) Change-Id: Ifd8a8402c4628e7278b6fedfd2ca7902004fa6e8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175241 Auto-Submit: Jonas Jensen <[email protected]> Reviewed-by: Sigurd Meldgaard <[email protected]> Commit-Queue: Sigurd Meldgaard <[email protected]>
This reverts commit 41381e9. Reason for revert: pub fails on startup if git is not installed; b/175080640 Original change's description: > Roll pub > > a7e448b2 pub upgrade --major-versions (#2784) > 06bcff09 pub upgrade foo, only unlocks foo from pubspec.lock (#2781) > aa20a4bd Usage exceptions no stacktrace (#2776) > 14e12bf6 Clarify error message when spawning a subprocess fails (#2763) > 5ef0a0e7 Added a pub upgrade --nullsafety mode (#2741) > 9cde2406 Fix pub remove --dry-run (#2774) > 7426be94 Remove hack now issue has been fixed (#2773) > 90a1f776 Limit retries in test to avoid timeout (#2765) > 3aa327c7 Stop depending on .packages (#2764) > > Change-Id: Ifd8a8402c4628e7278b6fedfd2ca7902004fa6e8 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175241 > Auto-Submit: Jonas Jensen <[email protected]> > Reviewed-by: Sigurd Meldgaard <[email protected]> > Commit-Queue: Sigurd Meldgaard <[email protected]> [email protected],[email protected] Change-Id: I29b20b4a2dc037146dd27c8fe6e6ecce6833e7b6 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175303 Reviewed-by: David Morgan <[email protected]> Commit-Queue: David Morgan <[email protected]>
This is a reland of 41381e9 Contains one more fix: 8ea96121d fix tryGitCommand Original change's description: > Roll pub > > a7e448b2 pub upgrade --major-versions (#2784) > 06bcff09 pub upgrade foo, only unlocks foo from pubspec.lock (#2781) > aa20a4bd Usage exceptions no stacktrace (#2776) > 14e12bf6 Clarify error message when spawning a subprocess fails (#2763) > 5ef0a0e7 Added a pub upgrade --nullsafety mode (#2741) > 9cde2406 Fix pub remove --dry-run (#2774) > 7426be94 Remove hack now issue has been fixed (#2773) > 90a1f776 Limit retries in test to avoid timeout (#2765) > 3aa327c7 Stop depending on .packages (#2764) > > Change-Id: Ifd8a8402c4628e7278b6fedfd2ca7902004fa6e8 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175241 > Auto-Submit: Jonas Jensen <[email protected]> > Reviewed-by: Sigurd Meldgaard <[email protected]> > Commit-Queue: Sigurd Meldgaard <[email protected]> Change-Id: Id50e6eca0372860f7087882a5c67141def07031c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175309 Reviewed-by: Jonas Jensen <[email protected]> Commit-Queue: Sigurd Meldgaard <[email protected]>
Dart Editor Linux 64-bit
Version 0.1.0.201204250727, Build 6943
Dart SDK version 6934, Dartium version
!ENTRY org.eclipse.debug.core 4 2 2012-04-26 14:19:29.432
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.debug.core".
!STACK 0
java.lang.NullPointerException
at com.google.dart.tools.debug.ui.internal.view.DebuggerViewManager.launchRemoved(DebuggerViewManager.java:122)
at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.java:443)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManager.java:428)
at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:990)
at org.eclipse.debug.internal.core.LaunchManager.removeLaunch(LaunchManager.java:2200)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.removeTerminatedLaunches(LaunchConfigurationManager.java:328)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.launchAdded(LaunchConfigurationManager.java:314)
at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.java:440)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManager.java:428)
at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:990)
at org.eclipse.debug.internal.core.LaunchManager.addLaunch(LaunchManager.java:688)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:843)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!ENTRY org.eclipse.debug.core 4 120 2012-04-26 14:19:29.433
!MESSAGE An exception occurred during launch change notification.
!STACK 0
java.lang.NullPointerException
at com.google.dart.tools.debug.ui.internal.view.DebuggerViewManager.launchRemoved(DebuggerViewManager.java:122)
at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.java:443)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManager.java:428)
at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:990)
at org.eclipse.debug.internal.core.LaunchManager.removeLaunch(LaunchManager.java:2200)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.removeTerminatedLaunches(LaunchConfigurationManager.java:328)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.launchAdded(LaunchConfigurationManager.java:314)
at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.java:440)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManager.java:428)
at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:990)
at org.eclipse.debug.internal.core.LaunchManager.addLaunch(LaunchManager.java:688)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:843)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!ENTRY com.google.dart.tools.ui 4 10001 2012-04-26 14:42:39.216
!MESSAGE Internal Error
!STACK 0
java.lang.OutOfMemoryError: Java heap space
at java.util.ArrayList.iterator(ArrayList.java:737)
at java.util.AbstractCollection.addAll(AbstractCollection.java:320)
at com.google.dart.compiler.ast.NodeList.addAll(NodeList.java:90)
at com.google.dart.compiler.ast.DartFunction.<init>(DartFunction.java:19)
at com.google.dart.compiler.parser.DartParser.parseMethod(DartParser.java:1345)
at com.google.dart.compiler.parser.DartParser.parseMethodOrAccessor(DartParser.java:1373)
at com.google.dart.compiler.parser.DartParser.parseFieldOrMethod(DartParser.java:1049)
at com.google.dart.compiler.parser.DartParser.parseClassOrInterfaceBody(DartParser.java:692)
at com.google.dart.compiler.parser.DartParser.parseClass(DartParser.java:667)
at com.google.dart.compiler.parser.DartParser.parseUnit(DartParser.java:286)
at com.google.dart.compiler.DartCompiler$Compiler.parse(DartCompiler.java:817)
at com.google.dart.compiler.DartCompiler$SelectiveCompiler.parse(DartCompiler.java:881)
at com.google.dart.compiler.DartCompiler$Compiler.parseOutOfDateFiles(DartCompiler.java:258)
at com.google.dart.compiler.DartCompiler$Compiler.updateAndResolve(DartCompiler.java:201)
at com.google.dart.compiler.DartCompiler$Compiler.access$4(DartCompiler.java:190)
at com.google.dart.compiler.DartCompiler.analyzeLibraries(DartCompiler.java:1187)
at com.google.dart.compiler.DartCompiler.analyzeLibrary(DartCompiler.java:1151)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.secureAnalyzeLibrary(DartCompilerUtilities.java:823)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities$ResolverRunnable.run(DartCompilerUtilities.java:464)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities$CompilerRunner.runSafe(DartCompilerUtilities.java:107)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:770)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:752)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:716)
at com.google.dart.tools.ui.internal.text.editor.DartEditor.getAST(DartEditor.java:2028)
at com.google.dart.tools.ui.internal.text.editor.DartTextHover.getHoverInfo(DartTextHover.java:98)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)
The text was updated successfully, but these errors were encountered: