Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
MediathekView Logo

MediathekView-Forum

  1. Home
  2. Fragen, Hilfe, Kritik
  3. Proxy verwenden und Java-OutOfMemoryError

Proxy verwenden und Java-OutOfMemoryError

Scheduled Pinned Locked Moved Fragen, Hilfe, Kritik
5 Posts 3 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joker52
    wrote on last edited by Nicklas2751
    #1

    Moin,
    ich habe den Thread zum Verwenden eines Proxys gelesen. Wenn ich das in einem Admin-Command-Fenster (Win10) verwende, bekomme ich folgende Fehler:

    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
    

    Lässt sich das Problem lösen?

    MV 14.2.0, Win10/64-22H2, Light Alloy 4.11.2

    1 Reply Last reply
    • Nicklas2751N Offline
      Nicklas2751N Offline
      Nicklas2751 Administrator
      wrote on last edited by
      #2

      Ja füge noch das hinzu: -Xms 256 -Xmx 2048das weißt Java bis zu 2GB ram zu. Die von dir gepostete Exception besagt so was wie, dass Java der RAM ausgegangen ist.

      MediathekView Entwickler | Bugs?: Anleitung Fehler melden | Fehlende Sendungen?: Fehlende Sendung melden

      1 Reply Last reply
      • J Offline
        J Offline
        Joker52
        wrote on last edited by Joker52
        #3

        Danke für die Antwort. Übrigens: Java ist Version 8.61, MediathekView ist Version 13.05
        Leider mag mein Java die Optionen nicht:

        C:\WINDOWS\system32>java -DproxySet=true -DproxyHost=213.182.251.211 -DproxyPort=80 -Xms 256 -Xmx 2048 -jar [Pfad zu]\MediathekView.jar
        Invalid initial heap size: -Xms
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.

        C:\WINDOWS\system32>java -DproxySet=true -DproxyHost=213.182.251.211 -DproxyPort=80 -Xmx 2048 -jar [Pfad zu]\MediathekView.jar
        Invalid maximum heap size: -Xmx
        Error: Could not create the Java Virtual Machine.
        Error: A fatal exception has occurred. Program will exit.

        Was nun?

        MV 14.2.0, Win10/64-22H2, Light Alloy 4.11.2

        styrollS 1 Reply Last reply
        • styrollS Offline
          styrollS Offline
          styroll
          replied to Joker52 on last edited by
          #4

          @joker52 sagte: -Xms 256 -Xmx 2048 -jar [Pfad zu]\MediathekView.jar
          Invalid initial heap size: -Xms

          In der Anleitung siehst du, wie es heissen müsste.

          J 1 Reply Last reply
          • J Offline
            J Offline
            Joker52
            replied to styroll on last edited by Joker52
            #5

            @styroll : danke, hab’s probiert mit “-Xms256M -Xmx2G”. Nun gibt es eine andere Fehlermeldung:

            Error occurred during initialization of VM
            Could not reserve enough space for 2097152KB object heap

            Mein Rechner hat 8GB, davon sind ~ 5GB frei. Sollte doch kein Problem sein, davon 2 GB zu reservieren…
            Leider doch. Nachdem ich den Browser (Firefox) geschlossen habe, klappt es mit “-Xmx2GB”.
            Nochmals Dank an alle für die Unterstützung 🙂

            (Text aktualisiert 180209-1142)

            MV 14.2.0, Win10/64-22H2, Light Alloy 4.11.2

            1 Reply Last reply

            46

            Online

            6.7k

            Users

            6.2k

            Topics

            39.4k

            Posts
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups