Announcement

Collapse
No announcement yet.

OutOfMemoryError heap space

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OutOfMemoryError heap space

    After a lot of testing I get an OutOfMemory error after the second Deploy All. I have only 2 active channels and a small Javascript transformation..
    I incremented the heap space to 128 Mbyte.

    # Initial Java Heap Size (in MB)
    #wrapper.java.initmemory=3

    # Maximum Java Heap Size (in MB)
    wrapper.java.maxmemory=128

    What might be the reason ??

    Java 1.5.0 Windows XP


    The channels will startup after starting Mirth (Administrator) but deploy will always give the OutOfMemoryError

    Post edited by: huubvandemortel, at: 04/26/2007 14:26

    Post edited by: huubvandemortel, at: 04/26/2007 15:19

  • #2
    Re:OutOfMemoryError heap space

    Is Mirth processing when you deploy? How much memory does your system have overall?
    Chris Lang

    Comment


    • #3
      Re:OutOfMemoryError heap space

      My system has 1 Gig memory and yes I think Mirth is running. I change something in the transformation , save and do a Deploy all (2 channels). I do not explicitly stop the channels. That used to work in the past but now it seems not to work at all. The task manager shows at least 300 Mb free memory. java.exe has 117 Mbyte.

      Comment


      • #4
        Re:OutOfMemoryError heap space

        How many messages do you have in your database?
        Chris Lang

        Comment


        • #5
          Re:OutOfMemoryError heap space

          0 to 10, I remove them regurlarly (???)

          Until this afternoon the only way to deploy was to restart the server.
          If I test now, it seems to work oke again..

          forget it for now..

          Comment


          • #6
            Re:OutOfMemoryError heap space

            Having similar problem. Mirth has been unable to take up files of length around or greater than 1MB. The channel i'm running it through is essentially file reader which reads in the file, then deletes the file and logs through a file writer. No transformations or anything. Just seeing how long Mirth takes to take up the files.

            Comment


            • #7
              Re:OutOfMemoryError heap space

              Remove the strict parser - on the transformer, go to the incoming and outgoing tabs (on source and destination) - hit properties and uncheck use strict parser.

              -Chris
              Chris Lang

              Comment


              • #8
                Re:OutOfMemoryError heap space

                As it was reported (applying small correction)

                starting service using Mirth.bat with

                Code:
                java -Xmx512m -jar mirth-launcher.jar launcher.xml
                seems to solve problem.

                As far as I noticed running Mith using Mirth.bat makes Mirth Server Manager useless.
                The question is how to apply that setting (-Xmx512m) to Mirth Server Manager (MSM)?
                Are there any MSM configuration abilities?

                Comment


                • #9
                  Re:OutOfMemoryError heap space

                  The server manager manages the Mirth service - you can control the service parameters by modifying wrapper.conf in /conf
                  Chris Lang

                  Comment

                  Working...
                  X
                  😀
                  🥰
                  🤢
                  😎
                  😡
                  👍
                  👎