<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Proxy verwenden und Java-OutOfMemoryError]]></title><description><![CDATA[<p dir="auto">Moin,<br />
ich habe den Thread zum Verwenden eines Proxys gelesen. Wenn ich das in einem Admin-Command-Fenster (Win10) verwende, bekomme ich folgende Fehler:</p>
<pre><code>Exception in thread "TimerQueue" Exception in thread "AWT-EventQueue-0" Exception in thread "DownloadStarter Daemon Thread" Exception in thread "Timer-0" java.lang.OutOfMemoryError: Java heap space
        at java.util.LinkedList.listIterator(Unknown Source)
        at java.util.AbstractList.listIterator(Unknown Source)
        at java.util.AbstractSequentialList.iterator(Unknown Source)
        at mediathek.daten.ListeDownloads.getDown(ListeDownloads.java:651)
        at mediathek.daten.ListeDownloads.getRestartDownload(ListeDownloads.java:623)
        at mediathek.controller.starter.StarterClass$Starten.getNextStart(StarterClass.java:333)
        at mediathek.controller.starter.StarterClass$Starten.run(StarterClass.java:307)
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
        at java.util.concurrent.locks.ReentrantLock$Sync.newCondition(Unknown Source)
        at java.util.concurrent.locks.ReentrantLock.newCondition(Unknown Source)
        at javax.swing.TimerQueue.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
</code></pre>
<p dir="auto">Lässt sich das Problem lösen?</p>
]]></description><link>https://forum.mediathekview.de/topic/1196/proxy-verwenden-und-java-outofmemoryerror</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Mar 2026 23:39:09 GMT</lastBuildDate><atom:link href="https://forum.mediathekview.de/topic/1196.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Feb 2018 17:08:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Proxy verwenden und Java-OutOfMemoryError on Fri, 09 Feb 2018 10:43:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/styroll" aria-label="Profile: styroll">@<bdi>styroll</bdi></a> : danke, hab’s probiert mit “-Xms256M -Xmx2G”. Nun gibt es eine andere Fehlermeldung:</p>
<p dir="auto">Error occurred during initialization of VM<br />
Could not reserve enough space for 2097152KB object heap</p>
<p dir="auto">Mein Rechner hat 8GB, davon sind ~ 5GB frei. Sollte doch kein Problem sein, davon 2 GB zu reservieren…<br />
Leider doch. Nachdem ich den Browser (Firefox) geschlossen habe, klappt es mit “-Xmx2GB”.<br />
Nochmals Dank an alle für die Unterstützung :-)</p>
<p dir="auto">(Text aktualisiert 180209-1142)</p>
]]></description><link>https://forum.mediathekview.de/post/6510</link><guid isPermaLink="true">https://forum.mediathekview.de/post/6510</guid><dc:creator><![CDATA[Joker52]]></dc:creator><pubDate>Fri, 09 Feb 2018 10:43:52 GMT</pubDate></item><item><title><![CDATA[Reply to Proxy verwenden und Java-OutOfMemoryError on Thu, 08 Feb 2018 23:04:37 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joker52" aria-label="Profile: joker52">@<bdi>joker52</bdi></a> sagte: -Xms 256 -Xmx 2048 -jar [Pfad zu]\MediathekView.jar<br />
Invalid initial heap size: -Xms</p>
</blockquote>
<p dir="auto">In der <a href="https://mediathekview.de/anleitung/#parameter-die-die-einstellungen-der-javavm-%C3%A4ndern" target="_blank" rel="noopener noreferrer nofollow ugc">Anleitung</a> siehst du, wie es heissen müsste.</p>
]]></description><link>https://forum.mediathekview.de/post/6509</link><guid isPermaLink="true">https://forum.mediathekview.de/post/6509</guid><dc:creator><![CDATA[styroll]]></dc:creator><pubDate>Thu, 08 Feb 2018 23:04:37 GMT</pubDate></item><item><title><![CDATA[Reply to Proxy verwenden und Java-OutOfMemoryError on Thu, 08 Feb 2018 22:32:16 GMT]]></title><description><![CDATA[<p dir="auto">Danke für die Antwort. Übrigens: Java ist Version 8.61, MediathekView ist Version 13.05<br />
Leider mag mein Java die Optionen nicht:</p>
<p dir="auto">C:\WINDOWS\system32&gt;java -DproxySet=true -DproxyHost=213.182.251.211 -DproxyPort=80 -Xms 256 -Xmx 2048 -jar [Pfad zu]\MediathekView.jar<br />
Invalid initial heap size: -Xms<br />
Error: Could not create the Java Virtual Machine.<br />
Error: A fatal exception has occurred. Program will exit.</p>
<p dir="auto">C:\WINDOWS\system32&gt;java -DproxySet=true -DproxyHost=213.182.251.211 -DproxyPort=80 -Xmx 2048 -jar [Pfad zu]\MediathekView.jar<br />
Invalid maximum heap size: -Xmx<br />
Error: Could not create the Java Virtual Machine.<br />
Error: A fatal exception has occurred. Program will exit.</p>
<p dir="auto">Was nun?</p>
]]></description><link>https://forum.mediathekview.de/post/6508</link><guid isPermaLink="true">https://forum.mediathekview.de/post/6508</guid><dc:creator><![CDATA[Joker52]]></dc:creator><pubDate>Thu, 08 Feb 2018 22:32:16 GMT</pubDate></item><item><title><![CDATA[Reply to Proxy verwenden und Java-OutOfMemoryError on Thu, 08 Feb 2018 17:25:59 GMT]]></title><description><![CDATA[<p dir="auto">Ja füge noch das hinzu: <code>-Xms 256 -Xmx 2048</code>das weißt Java bis zu 2GB ram zu. Die von dir gepostete Exception besagt so was wie, dass Java der RAM ausgegangen ist.</p>
]]></description><link>https://forum.mediathekview.de/post/6505</link><guid isPermaLink="true">https://forum.mediathekview.de/post/6505</guid><dc:creator><![CDATA[Nicklas2751]]></dc:creator><pubDate>Thu, 08 Feb 2018 17:25:59 GMT</pubDate></item></channel></rss>