willblades / sdrtrunk

Automatically exported from code.google.com/p/sdrtrunk
0 stars 1 forks source link

OutofMemory errors when running concurrent with other heavy resource usage programs #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ERROR: Couldn't create log file in directory:C:\Users\Jason Low\SDRTrunk\event_l
ogs
Creating log file:C:\Users\Jason Low\SDRTrunk\event_logs\20140506_165636_RCMP_RC
MP_B2 /B7_decoded_messages.log
ERROR: Couldn't create log file in directory:C:\Users\Jason Low\SDRTrunk\event_l
ogs
Creating log file:C:\Users\Jason Low\SDRTrunk\event_logs\20140506_165636_RCMP_RC
MP_B2 /B7_call_events.log
ERROR: Couldn't create log file in directory:C:\Users\Jason Low\SDRTrunk\event_l
ogs
20140506 165726 RTL-2832 [00000665] Sample Rate - current: 257,774.9    average:
 260,942.5 count:5
20140506 165826 RTL-2832 [00000665] Sample Rate - current: 274,158.9    average:
 263,145.2 count:6
20140506 165926 RTL-2832 [00000665] Sample Rate - current: 271,428.3    average:
 264,328.5 count:7
20140506 170026 RTL-2832 [00000665] Sample Rate - current: 273,066.7    average:
 265,420.8 count:8
20140506 170126 RTL-2832 [00000665] Sample Rate - current: 246,306.1    average:
 263,296.9 count:9
20140506 170226 RTL-2832 [00000665] Sample Rate - current: 238,114.1    average:
 260,778.7 count:10
20140506 170326 RTL-2832 [00000665] Sample Rate - current: 202,069.3    average:
 255,441.5 count:11
20140506 170426 RTL-2832 [00000665] Sample Rate - current: 247,944.5    average:
 254,816.7 count:12
20140506 170526 RTL-2832 [00000665] Sample Rate - current: 250,129.1    average:
 254,456.1 count:13
20140506 170626 RTL-2832 [00000665] Sample Rate - current: 239,752.5    average:
 253,405.9 count:14
20140506 170726 RTL-2832 [00000665] Sample Rate - current: 247,944.5    average:
 253,041.8 count:15
20140506 170826 RTL-2832 [00000665] Sample Rate - current: 214,630.4    average:
 250,641.1 count:16
20140506 170926 RTL-2832 [00000665] Sample Rate - current: 243,029.3    average:
 250,193.3 count:17
20140506 171026 RTL-2832 [00000665] Sample Rate - current: 223,914.7    average:
 248,733.4 count:18
20140506 171126 RTL-2832 [00000665] Sample Rate - current: 227,737.6    average:
 247,628.4 count:19
20140506 171226 RTL-2832 [00000665] Sample Rate - current: 246,306.1    average:
 247,562.2 count:20
20140506 171326 RTL-2832 [00000665] Sample Rate - current: 245,213.9    average:
 247,450.4 count:21
20140506 171426 RTL-2832 [00000665] Sample Rate - current: 234,837.3    average:
 246,877.1 count:22
20140506 171526 RTL-2832 [00000665] Sample Rate - current: 261,051.7    average:
 247,493.4 count:23
20140506 171626 RTL-2832 [00000665] Sample Rate - current: 220,091.7    average:
 246,351.6 count:24
20140506 171726 RTL-2832 [00000665] Sample Rate - current: 263,782.4    average:
 247,048.9 count:25
20140506 171826 RTL-2832 [00000665] Sample Rate - current: 257,774.9    average:
 247,461.4 count:26
20140506 171926 RTL-2832 [00000665] Sample Rate - current: 269,789.9    average:
 248,288.4 count:27
20140506 172026 RTL-2832 [00000665] Sample Rate - current: 249,582.9    average:
 248,334.6 count:28
20140506 172126 RTL-2832 [00000665] Sample Rate - current: 260,505.6    average:
 248,754.3 count:29
20140506 172226 RTL-2832 [00000665] Sample Rate - current: 250,129.1    average:
 248,800.1 count:30
20140506 172326 RTL-2832 [00000665] Sample Rate - current: 241,937.1    average:
 248,578.8 count:31
20140506 172426 RTL-2832 [00000665] Sample Rate - current: 234,837.3    average:
 248,149.3 count:32
20140506 172526 RTL-2832 [00000665] Sample Rate - current: 259,413.3    average:
 248,490.7 count:33
20140506 172626 RTL-2832 [00000665] Sample Rate - current: 250,675.2    average:
 248,554.9 count:34
20140506 172726 RTL-2832 [00000665] Sample Rate - current: 256,682.7    average:
 248,787.1 count:35
20140506 172826 RTL-2832 [00000665] Sample Rate - current: 255,044.3    average:
 248,960.9 count:36
20140506 172926 RTL-2832 [00000665] Sample Rate - current: 226,645.3    average:
 248,357.8 count:37
20140506 173026 RTL-2832 [00000665] Sample Rate - current: 234,291.2    average:
 247,987.6 count:38
20140506 173126 RTL-2832 [00000665] Sample Rate - current: 205,892.3    average:
 246,908.3 count:39
20140506 173226 RTL-2832 [00000665] Sample Rate - current: 237,568      average:
 246,674.8 count:40
20140506 173326 RTL-2832 [00000665] Sample Rate - current: 126,702.9    average:
 243,748.6 count:41
20140506 173426 RTL-2832 [00000665] Sample Rate - current: 137,625.6    average:
 241,221.9 count:42
Exception in thread "usb4java IRP Queue Processor" java.lang.OutOfMemoryError: J
ava heap space
        at source.tuner.rtl.RTL2832TunerController$BufferProcessor.dataEventOccu
rred(Unknown Source)
        at org.usb4java.javax.PipeListenerList.dataEventOccurred(PipeListenerLis
t.java:49)
        at org.usb4java.javax.Pipe.sendEvent(Pipe.java:270)
        at org.usb4java.javax.IrpQueue.finishIrp(IrpQueue.java:48)
        at org.usb4java.javax.AbstractIrpQueue.process(AbstractIrpQueue.java:118
)
        at org.usb4java.javax.AbstractIrpQueue$1.run(AbstractIrpQueue.java:73)
        at java.lang.Thread.run(Unknown Source)
20140506 173526 RTL-2832 [00000665] Sample Rate - current: 74,820.3     average:
 237,352.1 count:43
20140506 173626 RTL-2832 [00000665] Sample Rate - current: 0    average: 231,957
.7 count:44
20140506 173726 RTL-2832 [00000665] Sample Rate - current: 0    average: 226,803
.1 count:45
20140506 173826 RTL-2832 [00000665] Sample Rate - current: 0    average: 221,872
.6 count:46
20140506 173926 RTL-2832 [00000665] Sample Rate - current: 0    average: 217,151
.9 count:47
20140506 174026 RTL-2832 [00000665] Sample Rate - current: 0    average: 212,627
.9 count:48
20140506 174126 RTL-2832 [00000665] Sample Rate - current: 0    average: 208,288
.6 count:49
20140506 174226 RTL-2832 [00000665] Sample Rate - current: 0    average: 204,122
.8 count:50
20140506 174326 RTL-2832 [00000665] Sample Rate - current: 0    average: 200,120
.4 count:51
20140506 174426 RTL-2832 [00000665] Sample Rate - current: 0    average: 196,271
.9 count:52
20140506 174526 RTL-2832 [00000665] Sample Rate - current: 0    average: 192,568
.7 count:53
20140506 174626 RTL-2832 [00000665] Sample Rate - current: 0    average: 189,002
.6 count:54
20140506 174726 RTL-2832 [00000665] Sample Rate - current: 0    average: 185,566
.2 count:55
20140506 174826 RTL-2832 [00000665] Sample Rate - current: 0    average: 182,252
.5 count:56
20140506 174926 RTL-2832 [00000665] Sample Rate - current: 0    average: 179,055
.1 count:57
20140506 175026 RTL-2832 [00000665] Sample Rate - current: 0    average: 175,967
.9 count:58
20140506 175126 RTL-2832 [00000665] Sample Rate - current: 0    average: 172,985
.4 count:59
20140506 175226 RTL-2832 [00000665] Sample Rate - current: 0    average: 170,102
.3 count:60
20140506 175326 RTL-2832 [00000665] Sample Rate - current: 0    average: 167,313
.8 count:61
20140506 175426 RTL-2832 [00000665] Sample Rate - current: 0    average: 164,615
.2 count:62
20140506 175526 RTL-2832 [00000665] Sample Rate - current: 0    average: 162,002
.2 count:63
20140506 175626 RTL-2832 [00000665] Sample Rate - current: 0    average: 159,470
.9 count:64
20140506 175726 RTL-2832 [00000665] Sample Rate - current: 0    average: 157,017
.5 count:65
20140506 175826 RTL-2832 [00000665] Sample Rate - current: 0    average: 154,638
.5 count:66
20140506 175926 RTL-2832 [00000665] Sample Rate - current: 0    average: 152,330
.4 count:67
20140506 180026 RTL-2832 [00000665] Sample Rate - current: 0    average: 150,090
.3 count:68
20140506 180126 RTL-2832 [00000665] Sample Rate - current: 0    average: 147,915
.1 count:69
20140506 180226 RTL-2832 [00000665] Sample Rate - current: 0    average: 145,802
 count:70
20140506 180326 RTL-2832 [00000665] Sample Rate - current: 0    average: 143,748
.4 count:71
20140506 180426 RTL-2832 [00000665] Sample Rate - current: 0    average: 141,751
.9 count:72
20140506 180526 RTL-2832 [00000665] Sample Rate - current: 0    average: 139,810
.1 count:73
20140506 180626 RTL-2832 [00000665] Sample Rate - current: 0    average: 137,920
.8 count:74
20140506 180726 RTL-2832 [00000665] Sample Rate - current: 0    average: 136,081
.9 count:75
20140506 180826 RTL-2832 [00000665] Sample Rate - current: 0    average: 134,291
.3 count:76
20140506 180926 RTL-2832 [00000665] Sample Rate - current: 0    average: 132,547
.3 count:77
20140506 181026 RTL-2832 [00000665] Sample Rate - current: 0    average: 130,847
.9 count:78
20140506 181126 RTL-2832 [00000665] Sample Rate - current: 0    average: 129,191
.6 count:79
20140506 181226 RTL-2832 [00000665] Sample Rate - current: 0    average: 127,576
.7 count:80
20140506 181326 RTL-2832 [00000665] Sample Rate - current: 0    average: 126,001
.7 count:81
20140506 181426 RTL-2832 [00000665] Sample Rate - current: 0    average: 124,465
.1 count:82
20140506 181526 RTL-2832 [00000665] Sample Rate - current: 0    average: 122,965
.5 count:83
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
        at java.awt.image.DataBufferInt.<init>(Unknown Source)
        at java.awt.image.Raster.createPackedRaster(Unknown Source)
        at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
        at java.awt.GraphicsConfiguration.createCompatibleImage(Unknown Source)
        at java.awt.GraphicsConfiguration.createCompatibleImage(Unknown Source)
        at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source)
        at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source)

        at sun.awt.image.VolatileSurfaceManager.displayChanged(Unknown Source)
        at sun.awt.SunDisplayChanger.notifyListeners(Unknown Source)
        at sun.awt.Win32GraphicsEnvironment.displayChanged(Unknown Source)
        at sun.awt.windows.WToolkit$5.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
20140506 181626 RTL-2832 [00000665] Sample Rate - current: 0    average: 121,501
.7 count:84
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
        at java.awt.image.DataBufferInt.<init>(Unknown Source)
        at java.awt.image.Raster.createPackedRaster(Unknown Source)
        at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
        at java.awt.GraphicsConfiguration.createCompatibleImage(Unknown Source)
        at java.awt.GraphicsConfiguration.createCompatibleImage(Unknown Source)
        at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source)
        at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source)

        at sun.awt.image.VolatileSurfaceManager.displayChanged(Unknown Source)
        at sun.awt.SunDisplayChanger.notifyListeners(Unknown Source)
        at sun.awt.Win32GraphicsEnvironment.displayChanged(Unknown Source)
        at sun.awt.windows.WToolkit$5.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
20140506 181726 RTL-2832 [00000665] Sample Rate - current: 0    average: 120,072
.2 count:85
20140506 181826 RTL-2832 [00000665] Sample Rate - current: 0    average: 118,676
 count:86
20140506 181926 RTL-2832 [00000665] Sample Rate - current: 0    average: 117,312
 count:87
20140506 182026 RTL-2832 [00000665] Sample Rate - current: 0    average: 115,978
.9 count:88
20140506 182126 RTL-2832 [00000665] Sample Rate - current: 0    average: 114,675
.7 count:89
20140506 182226 RTL-2832 [00000665] Sample Rate - current: 0    average: 113,401
.6 count:90

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "Image Fetcher 0"
Exception in thread "usb4java Device Scanner"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "usb4java Device Scanner"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-6"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-2"
Exception in thread "pool-6-thread-4"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-4"
Exception in thread "pool-6-thread-7"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-7"
Exception in thread "AWT-Windows"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-8"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-9"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-10"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-11"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-7-thread-1"
Exception in thread "pool-6-thread-12"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-18"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "pool-6-thread-12"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler i
n thread "AWT-Windows"

Original issue reported on code.google.com by dennis.s...@gmail.com on 7 May 2014 at 12:02

GoogleCodeExporter commented 9 years ago
Code restructuring in commit #175 reduces memory usage and will ease this issue.

https://code.google.com/p/sdrtrunk/source/detail?r=175

Original comment by dennis.s...@gmail.com on 26 Oct 2014 at 11:38