-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms512M
-Xmx1024M
-Dfile.encoding=UTF8
-Djava.net.preferIPv4Stack=true
6159.51==secs last lps calc USB1:: just saw Garbage
count=646004527, lines/sec=425091 Send sec =[B]6182.39[/B]
>> Call by USB==1 or USB1==2 :: 2
[B]lps hits to =25000 = 2930[/B]
lps hits to =50000 = 201
lps hits to =75000 = 212
lps hits to =100000 = 449
lps hits to =125000 = 261
lps hits to =150000 = 262
lps hits to =175000 = 246
lps hits to =200000 = 230
lps hits to =225000 = 212
lps hits to =250000 = 138
lps hits to =275000 = 144
lps hits to =300000 = 153
lps hits to =325000 = 173
lps hits to =350000 = 113
lps hits to =375000 = 91
lps hits to =400000 = 163
lps hits to =425000 = 84
lps hits to =450000 = 91
lps hits to =475000 = 6
6277.51==secs last lps calc USB1:: stall completed
count=646910564, lines/sec=409554 Send sec =[B]6277.67[/B]
>> Call by USB==1 or USB1==2 :: 2
[B][COLOR="#FF0000"]lps hits to =25000 = 3045[/COLOR][/B] [U]// this is 115 added counts under 25K lps - out of 118 seconds between "6159.51" and "6277.51==secs last lps calc "[/U]
lps hits to =50000 = 201
lps hits to =75000 = 212
lps hits to =100000 = 449
lps hits to =125000 = 261
lps hits to =150000 = 262
lps hits to =175000 = 246
lps hits to =200000 = 230
lps hits to =225000 = 212
lps hits to =250000 = 138
lps hits to =275000 = 144
lps hits to =300000 = 153
lps hits to =325000 = 173
lps hits to =350000 = 114
lps hits to =375000 = 91
lps hits to =400000 = 163
lps hits to =425000 = 85
lps hits to =450000 = 92
lps hits to =475000 = 6
Might help to give it much more RAM.
I think the file is arduino.l4j.ini ini. Maybe Defragster wants to test this, too.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at processing.app.FifoDocument.free(FifoDocument.java:168)
at processing.app.TeensyPipeMonitor.window_close(TeensyPipeMonitor.java:222)
at processing.app.TeensyPipeMonitor$3.windowClosing(TeensyPipeMonitor.java:98)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:350)
at java.awt.Window.processWindowEvent(Window.java:2054)
at javax.swing.JFrame.processWindowEvent(JFrame.java:305)
at java.awt.Window.processEvent(Window.java:2013)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
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)
8471.50==secs last lps calc USB1::
count=877512825, lines/sec=425303 Send sec =8483.06
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 4553
lps hits to =50000 = 222
lps hits to =75000 = 231
lps hits to =100000 = 465
lps hits to =125000 = 282
lps hits to =150000 = 283
lps hits to =175000 = 263
lps hits to =200000 = 251
lps hits to =225000 = 228
lps hits to =250000 = 156
lps hits to =275000 = 166
lps hits to =300000 = 171
lps hits to =325000 = 195
lps hits to =350000 = 136
lps hits to =375000 = 111
lps hits to =400000 = 178
lps hits to =425000 = 212
lps hits to =450000 = 360
lps hits to =475000 = 8
8605.50==secs last lps calc USB1::
count=889692441, lines/sec=21968 Send sec =8605.74
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 4650
lps hits to =50000 = 222
lps hits to =75000 = 233
lps hits to =100000 = 466
lps hits to =125000 = 284
lps hits to =150000 = 284
lps hits to =175000 = 264
lps hits to =200000 = 253
lps hits to =225000 = 229
lps hits to =250000 = 157
lps hits to =275000 = 166
lps hits to =300000 = 171
lps hits to =325000 = 197
lps hits to =350000 = 136
lps hits to =375000 = 112
lps hits to =400000 = 179
lps hits to =425000 = 222
lps hits to =450000 = 372
lps hits to =475000 = 8
9063.50==secs last lps calc USB1:: white after pause
count=937660963, lines/sec=424695 Send sec =9115.32
>> Call by USB==1 or USB1==2 :: 2
[B][U]9063.50[/U][/B]==secs last lps calc USB1:: white after pause
count=937660963, lines/sec=424695 Send sec =9115.32
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 4967
lps hits to =50000 = 226
lps hits to =75000 = 236
lps hits to =100000 = 471
lps hits to =125000 = 291
lps hits to =150000 = 290
lps hits to =175000 = 264
lps hits to =200000 = 255
lps hits to =225000 = 231
lps hits to =250000 = 163
lps hits to =275000 = 168
lps hits to =300000 = 176
lps hits to =325000 = 200
lps hits to =350000 = 138
lps hits to =375000 = 114
lps hits to =400000 = 185
lps hits to =425000 = 267
lps hits to =450000 = 412
lps hits to =475000 = 9
[B][U]10001.50[/U][/B]==secs last lps calc USB1:: ???
count=1305140466, lines/sec=434713 Send sec =10001.70
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 5066
lps hits to =50000 = 226
lps hits to =75000 = 236
lps hits to =100000 = 471
lps hits to =125000 = 292
lps hits to =150000 = 290
lps hits to =175000 = 264
lps hits to =200000 = 255
lps hits to =225000 = 231
lps hits to =250000 = 163
lps hits to =275000 = 168
lps hits to =300000 = 176
lps hits to =325000 = 200
lps hits to =350000 = 139
lps hits to =375000 = 114
lps hits to =400000 = 185
lps hits to =425000 = 369
lps hits to =450000 = 1147
lps hits to =475000 = 9
14189.50==secs last lps calc USB1:: night running 2
count=1556330840, lines/sec=435608 Send sec =14211.25
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 8592
lps hits to =50000 = 236
lps hits to =75000 = 247
lps hits to =100000 = 484
lps hits to =125000 = 301
lps hits to =150000 = 302
lps hits to =175000 = 278
lps hits to =200000 = 266
lps hits to =225000 = 246
lps hits to =250000 = 174
lps hits to =275000 = 185
lps hits to =300000 = 187
lps hits to =325000 = 208
lps hits to =350000 = 149
lps hits to =375000 = 123
lps hits to =400000 = 191
lps hits to =425000 = 412
lps hits to =450000 = 1591
lps hits to =475000 = 17
@Paul - was the stall in sermon what was triggered to continue when a 'Send' went out?
43336.50==secs last lps calc USB1:: Running fine Hours later
count=2992437855, lines/sec=423985 Send sec =43336.78
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 34119
lps hits to =50000 = 272
lps hits to =75000 = 280
lps hits to =100000 = 517
lps hits to =125000 = 344
lps hits to =150000 = 346
lps hits to =175000 = 319
lps hits to =200000 = 314
lps hits to =225000 = 281
lps hits to =250000 = 206
lps hits to =275000 = 213
lps hits to =300000 = 227
lps hits to =325000 = 244
lps hits to =350000 = 190
lps hits to =375000 = 177
lps hits to =400000 = 411
lps hits to =425000 = 1027
lps hits to =450000 = 3828
lps hits to =475000 = 21
The main teensy_serialmon thread uses WIN32 MsgWaitForMultipleObjects() to wait for any of 3 things:
1: Data received from Teensy
2: Data received from Arduino (actually an event signaled by another thread which receives from Arduino)
3: USB device change events
...
58135.50==secs last lps calc USB1:: Running fine Hours later
count=3818608892, lines/sec=440312 Send sec =58139.13
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 46909
lps hits to =50000 = 281
lps hits to =75000 = 287
lps hits to =100000 = 525
lps hits to =125000 = 362
lps hits to =150000 = 356
lps hits to =175000 = 334
lps hits to =200000 = 324
lps hits to =225000 = 295
lps hits to =250000 = 222
lps hits to =275000 = 228
lps hits to =300000 = 234
lps hits to =325000 = 254
lps hits to =350000 = 198
lps hits to =375000 = 201
lps hits to =400000 = 554
lps hits to =425000 = 1368
lps hits to =450000 = 5181
lps hits to =475000 = 22
96467.51==secs last lps calc USB1:: [B]count=4273113132, lines/sec=439160[/B]
[B][U]count=22405378[/U][/B], lines/sec=426688 Send sec =96595.05
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 84042
lps hits to =50000 = 285
lps hits to =75000 = 290
lps hits to =100000 = 531
lps hits to =125000 = 370
lps hits to =150000 = 360
lps hits to =175000 = 338
lps hits to =200000 = 328
lps hits to =225000 = 297
lps hits to =250000 = 225
lps hits to =275000 = 231
lps hits to =300000 = 237
lps hits to =325000 = 254
lps hits to =350000 = 198
lps hits to =375000 = 227
lps hits to =400000 = 683
lps hits to =425000 = 1587
lps hits to =450000 = 5948
lps hits to =475000 = 36
There is still a bug. Got garbage, and then this, when I closed the window.
Null pointer exception.Code:Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at processing.app.FifoDocument.free(FifoDocument.java:168) at processing.app.TeensyPipeMonitor.window_close(TeensyPipeMonitor.java:222) at processing.app.TeensyPipeMonitor$3.windowClosing(TeensyPipeMonitor.java:98) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:350) at java.awt.Window.processWindowEvent(Window.java:2054) at javax.swing.JFrame.processWindowEvent(JFrame.java:305) at java.awt.Window.processEvent(Window.java:2013) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) 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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) 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)
If the military as your customer accepts null pointer exceptions, it freightens me very much.Speaking from personal knowledge & experience (I have 35+ years of experience developing & delivering multi-threaded, real-time, data intensive serial & network communications systems written in java and/or c/c++ for military customers [...] We see that behavior (exceptions during shutdown) in our java systems quite often & I can assure you that it is meaningless.
You're right if you're telling me here that the speed-test is meaningless. I say the same?I've stayed on the sidelines observing these discussions on efforts to characterize the loss and/or corruption of data in the serial monitor, but now that I've poked my nose into it, I will take the opportunity to inject my two cents worth. For those (like me) who use the serial monitor as a debug tool, all serial monitor outputs are critically important. Any drops and/or corruption of the serial monitor data stream could/will impact the ability to troubleshoot. If it just so happens that the one message containing the critically important debug report was the one that was dropped and/or corrupted, then the ability to accurately debug is completely shot !! I believe that the serial monitor stress testing being done is very valuable & hardly a waste of time. Paul is to be commended for the efforts (both past & present) that he has put into improving both the performance & the reliability of the serial monitor capability. I appreciate everything that he can do to continue to improve both the performance and the reliability, as it directly (& positively) affects my ability to debug.
If the military as your customer accepts null pointer exceptions, it freightens me very much.
I have no problem with the errormessage when closing the monitor.
Again, I don't get what you want.
If/when a multi-threaded program (java or otherwise) is shutdown, there is a very high likelihood that one of the threads which is still running will try to access something that another of the threads that is already shutdown was providing. Getting a null pointer exception during runtime, now that's something to worry about. However, getting a null pointer exception while shutting down means absolutely nothing !!
But it must be allowed to inform PJRC about it? Seems, not.
But, there is probably a way (a workaround) to at least reduce the amount of garbage. It affects almost all windows software that uses a serial connection to the Teensy (and other MCUs - if you googled a bit or read my links). So it must be allowed to talk about that?
Again, I don't get what you want.
But it seems not to be interesting for the others, too, as my Idea to use an other driver got ignored completely.
...
For those (like me) who use the serial monitor as a debug tool, all serial monitor outputs are critically important. Any drops and/or corruption of the serial monitor data stream could/will impact the ability to troubleshoot. If it just so happens that the one message containing the critically important debug report was the one that was dropped and/or corrupted, then the ability to accurately debug is completely shot !! I believe that the serial monitor stress testing being done is very valuable & hardly a waste of time. Paul is to be commended for the efforts (both past & present) that he has put into improving both the performance & the reliability of the serial monitor capability. I appreciate everything that he can do to continue to improve both the performance and the reliability, as it directly (& positively) affects my ability to debug.
Mark J Culross
KD5RXT
131271.51==secs last lps calc USB1:: count=351971974, lines/sec=419964
count=388562095, lines/sec=427392 Send sec =132192.40
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 117959
lps hits to =50000 = 288
lps hits to =75000 = 290
lps hits to =100000 = 535
lps hits to =125000 = 371
lps hits to =150000 = 362
lps hits to =175000 = 341
lps hits to =200000 = 333
lps hits to =225000 = 298
lps hits to =250000 = 228
lps hits to =275000 = 232
lps hits to =300000 = 242
lps hits to =325000 = 256
lps hits to =350000 = 203
lps hits to =375000 = 245
lps hits to =400000 = 755
lps hits to =425000 = 1881
lps hits to =450000 = 6416
lps hits to =475000 = 36
[B]132739.51[/B]==secs last lps calc USB1:: 'Clear output' : count=426080202, lines/sec=420954
count=440956119, lines/sec=427392 Send sec =[B]132740.05[/B]
>> Call by USB==1 or USB1==2 :: 2
lps hits to =25000 = 119299
lps hits to =50000 = 289
lps hits to =75000 = 291
lps hits to =100000 = 535
lps hits to =125000 = 372
lps hits to =150000 = 362
lps hits to =175000 = 341
lps hits to =200000 = 333
lps hits to =225000 = 298
lps hits to =250000 = 228
lps hits to =275000 = 233
lps hits to =300000 = 242
lps hits to =325000 = 256
lps hits to =350000 = 203
lps hits to =375000 = 248
lps hits to =400000 = 766
lps hits to =425000 = 1931
lps hits to =450000 = 6476
lps hits to =475000 = 36
...
"C:\\T_Drive\\Arduino_1.8.16_155\\hardware\\teensy/../tools/teensy_size" "R:\\Temp\\arduino_build_975700/USB-Serial-Print-Speed-Test-Avail.ino.elf"
Memory Usage on Teensy 4.1:
FLASH: code:13788, data:1840, headers:8944 free for files:8101892
RAM1: variables:13120, code:11120, padding:21648 free for local variables:478400
RAM2: variables:24736 free for malloc/new:499552
C:\T_Drive\Arduino_1.8.16_155\hardware\teensy/../tools/teensy_post_compile -file=USB-Serial-Print-Speed-Test-Avail.ino -path=R:\Temp\arduino_build_975700 -tools=C:\T_Drive\Arduino_1.8.16_155\hardware\teensy/../tools -board=TEENSY41 -reboot -port=usb:0/140000/0/6/1/2 -portlabel=[no_device] Bootloader -portprotocol=Teensy
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at sun.font.GlyphList.ensureCapacity(GlyphList.java:166)
at sun.font.GlyphList.setFromGlyphVector(GlyphList.java:292)
at sun.java2d.pipe.GlyphListPipe.drawGlyphVector(GlyphListPipe.java:136)
at sun.java2d.SunGraphics2D.drawGlyphVector(SunGraphics2D.java:3003)
at sun.font.ExtendedTextSourceLabel.handleDraw(ExtendedTextSourceLabel.java:193)
at sun.font.Decoration.drawTextAndDecorations(Decoration.java:122)
at sun.font.ExtendedTextSourceLabel.draw(ExtendedTextSourceLabel.java:197)
at java.awt.font.TextLine.draw(TextLine.java:776)
at java.awt.font.TextLayout.draw(TextLayout.java:2647)
at sun.java2d.pipe.GlyphListPipe.drawChars(GlyphListPipe.java:111)
at sun.java2d.pipe.ValidatePipe.drawChars(ValidatePipe.java:178)
at sun.java2d.SunGraphics2D.drawChars(SunGraphics2D.java:3036)
at sun.swing.SwingUtilities2.drawChars(SwingUtilities2.java:847)
at javax.swing.text.Utilities.drawTabbedText(Utilities.java:187)
at javax.swing.text.Utilities.drawTabbedText(Utilities.java:106)
at javax.swing.text.PlainView.drawUnselectedText(PlainView.java:154)
at javax.swing.text.PlainView.drawElement(PlainView.java:113)
at javax.swing.text.PlainView.drawLine(PlainView.java:82)
at javax.swing.text.PlainView.paint(PlainView.java:311)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1434)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:737)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:881)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:860)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at sun.font.GlyphList.ensureCapacity(GlyphList.java:166)
at sun.font.GlyphList.setFromGlyphVector(GlyphList.java:292)
at sun.java2d.pipe.GlyphListPipe.drawGlyphVector(GlyphListPipe.java:136)
at sun.java2d.SunGraphics2D.drawGlyphVector(SunGraphics2D.java:3003)
at sun.font.ExtendedTextSourceLabel.handleDraw(ExtendedTextSourceLabel.java:193)
at sun.font.Decoration.drawTextAndDecorations(Decoration.java:122)
at sun.font.ExtendedTextSourceLabel.draw(ExtendedTextSourceLabel.java:197)
at java.awt.font.TextLine.draw(TextLine.java:776)
at java.awt.font.TextLayout.draw(TextLayout.java:2647)
at sun.java2d.pipe.GlyphListPipe.drawChars(GlyphListPipe.java:111)
at sun.java2d.pipe.ValidatePipe.drawChars(ValidatePipe.java:178)
at sun.java2d.SunGraphics2D.drawChars(SunGraphics2D.java:3036)
at sun.swing.SwingUtilities2.drawChars(SwingUtilities2.java:847)
at javax.swing.text.Utilities.drawTabbedText(Utilities.java:187)
at javax.swing.text.Utilities.drawTabbedText(Utilities.java:106)
at javax.swing.text.PlainView.drawUnselectedText(PlainView.java:154)
at javax.swing.text.PlainView.drawElement(PlainView.java:113)
at javax.swing.text.PlainView.drawLine(PlainView.java:82)
at javax.swing.text.PlainView.paint(PlainView.java:311)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1434)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:737)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:881)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:860)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at sun.font.GlyphList.ensureCapacity(GlyphList.java:166)
at sun.font.GlyphList.setFromGlyphVector(GlyphList.java:292)
at sun.java2d.pipe.GlyphListPipe.drawGlyphVector(GlyphListPipe.java:136)
at sun.java2d.SunGraphics2D.drawGlyphVector(SunGraphics2D.java:3003)
at sun.font.ExtendedTextSourceLabel.handleDraw(ExtendedTextSourceLabel.java:193)
at sun.font.Decoration.drawTextAndDecorations(Decoration.java:122)
at sun.font.ExtendedTextSourceLabel.draw(ExtendedTextSourceLabel.java:197)
at java.awt.font.TextLine.draw(TextLine.java:776)
at java.awt.font.TextLayout.draw(TextLayout.java:2647)
at sun.java2d.pipe.GlyphListPipe.drawChars(GlyphListPipe.java:111)
at sun.java2d.pipe.ValidatePipe.drawChars(ValidatePipe.java:178)
at sun.java2d.SunGraphics2D.drawChars(SunGraphics2D.java:3036)
at sun.swing.SwingUtilities2.drawChars(SwingUtilities2.java:847)
at javax.swing.text.Utilities.drawTabbedText(Utilities.java:187)
at javax.swing.text.Utilities.drawTabbedText(Utilities.java:106)
at javax.swing.text.PlainView.drawUnselectedText(PlainView.java:154)
at javax.swing.text.PlainView.drawElement(PlainView.java:113)
at javax.swing.text.PlainView.drawLine(PlainView.java:82)
at javax.swing.text.PlainView.paint(PlainView.java:311)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1434)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:737)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:881)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:860)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at sun.font.GlyphList.ensureCapacity(GlyphList.java:166)
at sun.font.GlyphList.setFromGlyphVector(GlyphList.java:292)
at sun.java2d.pipe.GlyphListPipe.drawGlyphVector(GlyphListPipe.java:136)
at sun.java2d.SunGraphics2D.drawGlyphVector(SunGraphics2D.java:3003)
at sun.font.ExtendedTextSourceLabel.handleDraw(ExtendedTextSourceLabel.java:193)
at sun.font.Decoration.drawTextAndDecorations(Decoration.java:122)
at sun.font.ExtendedTextSourceLabel.draw(ExtendedTextSourceLabel.java:197)
at java.awt.font.TextLine.draw(TextLine.java:776)
at java.awt.font.TextLayout.draw(TextLayout.java:2647)
at sun.java2d.pipe.GlyphListPipe.drawChars(GlyphListPipe.java:111)
at sun.java2d.pipe.ValidatePipe.drawChars(ValidatePipe.java:178)
at sun.java2d.SunGraphics2D.drawChars(SunGraphics2D.java:3036)
at sun.swing.SwingUtilities2.drawChars(SwingUtilities2.java:847)
at javax.swing.text.Utilities.drawTabbedText(Utilities.java:187)
at javax.swing.text.Utilities.drawTabbedText(Utilities.java:106)
at javax.swing.text.PlainView.drawUnselectedText(PlainView.java:154)
at javax.swing.text.PlainView.drawElement(PlainView.java:113)
at javax.swing.text.PlainView.drawLine(PlainView.java:82)
at javax.swing.text.PlainView.paint(PlainView.java:311)
at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1434)
at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:737)
at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:881)
at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:860)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1353)
at processing.app.inputPipeListener.update_gui(TeensyPipeMonitor.java:321)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:284)
Caused by: java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Me sort of same. Have also done some testing with T, T4 locked and T3.6@Paul
On a different note than Serial Monitor been using the locked T4.1 extensively testing MTP/LittleFS/UsbMscFat integration stuff. Have not seen any issues with uploading and flashing LEDs etc. All goes as expected.
It seems in doing that - Tsermon still running but IDE has this memory note - not sure when it appeared as the window waas hidden:
hmmmm.,...quite possible that a solution might be somewhere hidden in the useless casual posts here. probably.
Just add it to your list of low priority issues.
p.s. I'll add KD5 to my ignore list. I am no longer willing to read unnecessary provocations.
I have the impression that the memory requirement has increased somewhat with the last IDE versions. I have had this message several times now. Since the change of the setting however no more, but that does not have to mean anything. I just leave it like this and see if the message comes again.As for that : Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Hard to say. Just saw it and posted for Paul's review in case it adds something.