0.6.0a6 ou tof memory

174 views
Skip to first unread message

Kazzaw

unread,
Jun 4, 2023, 12:32:51 AM6/4/23
to sdrtrunk
Hi all,

I've been having issues with the latest Alpha and a out of memory crash. Any suggestions would be welcomed.

Running virtualized with 8GB of RAM, however I'm using RTL SDR tuners (5 of them) monitoring a variety of DMR and NBFM channels. My logs on crash below

2023-06-02 17:30:16.458 INFO  i.g.d.d.f.c.ComplexPolyphaseChannelizerM2 - Sample Rate [2400000.0] providing [96] channels at [25000.0] Hz each  [183MB/294MB 62%]
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
        at java.desktop/sun.java2d.marlin.IntArrayCache.createArray(Unknown Source)
        at java.desktop/sun.java2d.marlin.IntArrayCache$Reference.<init>(Unknown Source)
        at java.desktop/sun.java2d.marlin.IntArrayCache.createRef(Unknown Source)
        at java.desktop/sun.java2d.marlin.RendererContext.newDirtyIntArrayRef(Unknown Source)

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase channel thread 1"
        at java.desktop/sun.java2d.marlin.Renderer.<init>(Unknown Source)
        at java.desktop/sun.java2d.marlin.RendererContext.<init>(Unknown Source)
        at java.desktop/sun.java2d.marlin.RendererContext.createContext(Unknown Source)
        at java.desktop/sun.java2d.marlin.DMarlinRenderingEngine$1.newContext(Unknown Source)
        at java.desktop/sun.java2d.marlin.DMarlinRenderingEngine$1.newContext(Unknown Source)
        at java.desktop/sun.java2d.ReentrantContextProviderTL.acquire(Unknown Source)
        at java.desktop/sun.java2d.marlin.DMarlinRenderingEngine.getRendererContext(Unknown Source)
        at java.desktop/sun.java2d.marlin.DMarlinRenderingEngine.getAATileGenerator(Unknown Source)
        at java.desktop/sun.java2d.pipe.AAShapePipe.renderPath(Unknown Source)
        at java.desktop/sun.java2d.pipe.AAShapePipe.draw(Unknown Source)
        at java.desktop/sun.java2d.pipe.PixelToParallelogramConverter.draw(Unknown Source)
        at java.desktop/sun.java2d.pipe.ValidatePipe.draw(Unknown Source)
        at java.desktop/sun.java2d.SunGraphics2D.draw(Unknown Source)
        at io.github.dsheirer.spectrum.SpectrumPanel.drawSpectrum(SpectrumPanel.java:254)
        at io.github.dsheirer.spectrum.SpectrumPanel.paintComponent(SpectrumPanel.java:169)
        at java.desktop/javax.swing.JComponent.paint(Unknown Source)
        at java.desktop/javax.swing.JComponent.paintChildren(Unknown Source)
        at java.desktop/javax.swing.JComponent.paint(Unknown Source)
        at java.desktop/javax.swing.JLayeredPane.paint(Unknown Source)
        at java.desktop/javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(Unknown Source)
        at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
        at java.desktop/javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
        at java.desktop/javax.swing.RepaintManager.paint(Unknown Source)
        at java.desktop/javax.swing.JComponent._paintImmediately(Unknown Source)
        at java.desktop/javax.swing.JComponent.paintImmediately(Unknown Source)
        at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
        at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
Exception in thread "HttpClient-2-SelectorManager" java.lang.OutOfMemoryError: Java heap space
Exception in thread "HttpClient-1-SelectorManager" java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:52:45.154 ERROR i.g.d.util.Dispatcher - Error while dispatching element [class io.github.dsheirer.buffer.ByteNativeBuffer] to listener [class io.github.dsheirer.dsp.filter.channelizer.PolyphaseChannelManager$NativeBufferReceiver]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
2023-06-04 09:52:42.543 ERROR i.g.d.s.t.u.USBTunerController - Error while processing LibUsb timeout events  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:52:42.462 ERROR i.g.d.s.t.u.USBTunerController - Error while processing LibUsb timeout events  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:52:46.568 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 1]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:52:42.295 ERROR i.g.d.r.AudioRecordingManager - Error while processing queued audio segments to recordings  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:52:46.433 ERROR i.g.d.a.b.AudioStreamingManager - Error processing audio segments for streaming  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:52:46.567 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk scheduled thread 3]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:52:42.296 ERROR i.g.d.d.f.c.ComplexPolyphaseChannelizerM2 - Error during IFFT and dispatch of processed channel results  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects
        at org.jtransforms.fft.FloatFFT_1D.cfftf(FloatFFT_1D.java:6642)
        at org.jtransforms.fft.FloatFFT_1D.complexInverse(FloatFFT_1D.java:375)
        at org.jtransforms.fft.FloatFFT_1D.complexInverse(FloatFFT_1D.java:323)
        at io.github.dsheirer.dsp.filter.channelizer.ComplexPolyphaseChannelizerM2$IFFTProcessorDispatcher.lambda$new$0(ComplexPolyphaseChannelizerM2.java:427)
        at io.github.dsheirer.dsp.filter.channelizer.ComplexPolyphaseChannelizerM2$IFFTProcessorDispatcher$$Lambda$1641/0x00000001009238e8.receive(Unknown Source)
        at io.github.dsheirer.util.Dispatcher.process(Dispatcher.java:182)
        at io.github.dsheirer.util.Dispatcher$Processor.run(Dispatcher.java:205)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk USB tuner - bus [2] port [4]"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase channel thread 1"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk scheduled thread 5"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-3-thread-1"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase channel thread 1"
2023-06-04 09:52:57.121 ERROR i.g.d.util.Dispatcher - Error while dispatching element [class java.util.ArrayList] to listener [class io.github.dsheirer.dsp.filter.channelizer.ComplexPolyphaseChannelizerM2$IFFTProcessorDispatcher$$Lambda$1641/0x00000001009238e8]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk scheduled thread 6"
2023-06-04 09:53:00.404 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 1]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:53:00.486 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk scheduled thread 1]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:53:02.568 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk scheduled thread 8]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:53:02.610 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk scheduled thread 4]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:53:02.610 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk scheduled thread 7]  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-04 09:53:02.691 ERROR i.g.d.s.t.u.USBTunerController - Error while processing LibUsb timeout events  [1GB/2GB 99%]
java.lang.OutOfMemoryError: Java heap space

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk scheduled thread 11"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk scheduled thread 10"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk USB tuner - bus [2] port [5]"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase ifft processor thread 1"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk scheduled thread 2"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk scheduled thread 9"

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

David Hooper

unread,
Jun 4, 2023, 7:06:32 AM6/4/23
to sdrtrunk
I've had issues with SDR Trunk failing, and the latest Alpha version doing the same. I thought it might be running out of RAM, so I started using an app called 'Memory Reduct' which clears the RAM in Windows. I have set it to clean the RAM every 2 hours. SO far i have had SDR Trunk run now for 4 days with no issues. Also pays to get the sensitivity of your signal correct, and turn off any Messages co,ing through

Phil Pang

unread,
Jun 23, 2023, 12:02:00 AM6/23/23
to David Hooper, sdrtrunk
I'm having a similar issue in Ubuntu 22.04 LTS with 0.6.0a6 on a single Airspy Mini. This is happening every two days or so with an increased Java heap size of 4GB instead of 1. Sometimes I'm able to close the app window, other times the window is frozen and it's faster to restart the computer than finding the process ID and killing it.




2023-06-22 18:51:21.998 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 19:05:05.135 ERROR i.g.d.d.f.c.PolyphaseChannelManager - Error  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:05:32.699 ERROR i.g.d.d.f.c.PolyphaseChannelManager - Error  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:05:32.700 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 2]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:06:17.930 WARN  i.g.d.s.t.c.r.ChannelRotationMonitor - Error while checking state  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:06:17.931 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk scheduled thread 3]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk scheduled thread 2"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase channel thread 2"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase channel thread 2"


Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase channel thread 1"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase channel thread 2"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "sdrtrunk polyphase channel thread 1"
2023-06-22 19:07:59.835 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase ifft processor thread 1]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.835 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 3]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.835 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 3]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.835 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 2]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.835 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 2]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.835 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 3]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.835 WARN  i.g.d.s.t.c.r.ChannelRotationMonitor - Error while checking state  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:08:00.296 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 2]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:08:00.296 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk scheduled thread 4]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:08:00.296 ERROR i.g.d.d.f.c.PolyphaseChannelManager - Error  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:08:00.296 WARN  i.g.d.s.t.c.r.ChannelRotationMonitor - Error while checking state  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.835 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 2]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.836 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 2]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:07:59.836 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 2]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:08:00.297 ERROR i.g.d.util.ThreadPool - Error while executing runnable in scheduled thread pool [sdrtrunk polyphase channel thread 2]  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:08:02.580 ERROR i.g.d.s.t.u.USBTunerController - Error while processing LibUsb timeout events  [3GB/4GB 99%]
java.lang.OutOfMemoryError: Java heap space
2023-06-22 19:08:02.670 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 19:21:21.974 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 19:36:21.982 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 19:51:22.022 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 20:06:21.948 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 20:21:21.990 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 20:36:22.039 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 20:51:21.998 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 21:06:21.943 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 21:21:21.989 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 21:36:21.986 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 21:51:21.988 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 22:06:21.977 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 22:21:21.980 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 22:36:22.021 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 98%]
2023-06-22 22:51:22.157 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 23:06:22.007 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 23:21:22.014 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 23:36:21.984 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 23:51:21.982 INFO  i.g.d.a.b.b.BroadcastifyCallBroadcaster - Broadcastify Calls keep-alive success  [3GB/4GB 99%]
2023-06-22 23:57:22.550 INFO  i.g.dsheirer.gui.SDRTrunk - Application shutdown started ...  [3GB/4GB 99%]
2023-06-22 23:57:22.569 INFO  i.g.dsheirer.gui.SDRTrunk - Stopping channels ...  [3GB/4GB 99%]
2023-06-22 23:57:22.569 ERROR i.g.d.d.f.c.AbstractComplexPolyphaseChannelizer - Error removing polyphase channel source - channel source was not previously added to this channelizer  [3GB/4GB 99%]
2023-06-22 23:57:22.569 INFO  i.g.d.m.d.p.P25TrafficChannelManager - Stopping traffic channel: Toronto P25_East_TRAFFIC_19  [3GB/4GB 99%]
2023-06-22 23:57:22.570 INFO  i.g.dsheirer.gui.SDRTrunk - Stopping spectral display ...  [3GB/4GB 99%]
2023-06-22 23:57:22.571 INFO  i.g.dsheirer.gui.SDRTrunk - Stopping tuners ...  [3GB/4GB 99%]
2023-06-22 23:57:22.580 INFO  i.g.d.s.t.m.DiscoveredTuner - Stopping Tuner: Airspy USB Bus:3 Port:1.4.3  [3GB/4GB 99%]
2023-06-22 23:57:22.586 INFO  i.g.dsheirer.gui.SDRTrunk - Shutdown complete.  [3GB/4GB 99%]
2023-06-22 23:57:22.587 INFO  i.g.d.log.ApplicationLog - Stopping application logging  [3GB/4GB 99%]




-Phil


--
You received this message because you are subscribed to the Google Groups "sdrtrunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sdrtrunk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sdrtrunk/eda27d36-95f1-459a-9e1f-8b0a6504ab76n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages