-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Undeclared Mem error in Windows #371
Comments
Hmm, can you take a look at your BowlerStudio.bat file and see what heap size is specified? |
C:\Program Files (x86)\Commonwealth Robotics BowlerStudio\BowlerStudioApp\BowlerStudio.bat @madhephaestus i don't see anything referencing heap in the contents |
what files are are you opening? How many chars? |
@JansenSmith Did that fix it? |
checking |
@madhephaestus Code in C:\Users\Jansen\bowler-workspace\gitcache\github.com\Halloween2020TheChild\Zoltar\CrystalStand.groovy changed Saving history |
@madhephaestus C:\Users\Jansen\bowler-workspace\gitcache\github.com\Halloween2020TheChild\Zoltar\CrystalStand.groovy Interupted java.lang.Exception java.lang.OutOfMemoryError: Java heap space |
crashed again Saving history |
Can you run JVisualVM at the same time and look for runnaway threads or nail down which thread is using all the memory? Even better, pause the thread using the memory in the debugger to see what its doing? (i can not reproduce this problem BTW) One other thing to check: Run MEMTEST. This is the same symptom that pointed towards bad ram. At the very least it is something that should be ruled out, especially since you touched the ram recently. |
I have labeled this a hardware problem until the system passes memtest. |
debug info:
java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.(DataBufferInt.java:75)
at java.awt.image.Raster.createPackedRaster(Raster.java:467)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
at java.awt.image.BufferedImage.(BufferedImage.java:351)
at sun.swing.JLightweightFrame.resizeBuffer(JLightweightFrame.java:420)
at sun.swing.JLightweightFrame.reshape(JLightweightFrame.java:407)
at java.awt.Component.setBounds(Component.java:2261)
at java.awt.Window.setBounds(Window.java:3503)
at java.awt.Component.resize(Component.java:2184)
at java.awt.Component.setSize(Component.java:2173)
at java.awt.Window.setSize(Window.java:908)
at javafx.embed.swing.SwingNode.lambda$locateLwFrame$20(SwingNode.java:683)
at javafx.embed.swing.SwingNode$$Lambda$686/1388524169.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
The text was updated successfully, but these errors were encountered: