Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. OmekaS
  3. What is the RAM usage for this?

What is the RAM usage for this?

Scheduled Pinned Locked Moved OmekaS
6 Posts 4 Posters 1.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • scookeS Offline
    scookeS Offline
    scooke
    wrote on last edited by
    #1

    Can someone share the RAM usage for OmekaS running in it's own container, versus running it in a LAMP container, please?

    A life lived in fear is a life half-lived

    jeauJ 1 Reply Last reply
    0
    • scookeS scooke

      Can someone share the RAM usage for OmekaS running in it's own container, versus running it in a LAMP container, please?

      jeauJ Offline
      jeauJ Offline
      jeau
      App Dev
      wrote on last edited by
      #2

      @scooke said in What is the RAM usage for this?:

      Can someone share the RAM usage for OmekaS running in it's own container, versus running it in a LAMP container, please?

      I didn't watch that and I have no more Omeka installation on LAMP 😉

      I increased the RAM default requirement to 50OMB because there may be some batch jobs or graphics processing, for example with the IIIF modules. Some modules also require packages that are not necessarily provided with the LAMP app (but I didn't check)

      imc67I 1 Reply Last reply
      2
      • jeauJ jeau

        @scooke said in What is the RAM usage for this?:

        Can someone share the RAM usage for OmekaS running in it's own container, versus running it in a LAMP container, please?

        I didn't watch that and I have no more Omeka installation on LAMP 😉

        I increased the RAM default requirement to 50OMB because there may be some batch jobs or graphics processing, for example with the IIIF modules. Some modules also require packages that are not necessarily provided with the LAMP app (but I didn't check)

        imc67I Online
        imc67I Online
        imc67
        translator
        wrote on last edited by
        #3

        @jeau @scooke I have it in a test LAMP app with its default 256MB and now it’s indeed 500MB. I guess it’s good.

        However if you check within the app Systeminformation it says:

        Memory Limit 128M
        POST Size Limit 64M
        File Upload Limit 64M

        The memory limit is only 128MB?
        With only 64MB upload you can’t upload a video if needed, maybe it could be increased to 1GB?

        BTW @jeau you did a very good job with presenting and building this app!!

        jeauJ 1 Reply Last reply
        2
        • imc67I imc67

          @jeau @scooke I have it in a test LAMP app with its default 256MB and now it’s indeed 500MB. I guess it’s good.

          However if you check within the app Systeminformation it says:

          Memory Limit 128M
          POST Size Limit 64M
          File Upload Limit 64M

          The memory limit is only 128MB?
          With only 64MB upload you can’t upload a video if needed, maybe it could be increased to 1GB?

          BTW @jeau you did a very good job with presenting and building this app!!

          jeauJ Offline
          jeauJ Offline
          jeau
          App Dev
          wrote on last edited by
          #4

          @imc67 these values are defined (by Omeka app Dockerfile) in /etc/php/7.4/apache2/php.iniand refer to mod_php sessions for Apache.

          ; Maximum amount of memory a script may consume (128MB)
          ; http://php.net/memory-limit
          memory_limit = 128M
          
          ; Maximum size of POST data that PHP will accept.
          ; Its value may be 0 to disable the limit. It is ignored if POST data reading
          ; is disabled through enable_post_data_reading.
          ; http://php.net/post-max-size
          post_max_size = 64M
          
          ; Maximum allowed size for uploaded files.
          ; http://php.net/upload-max-filesize
          upload_max_filesize = 64M
          

          To upload large files, Omeka users prefer to use the FileSideload module.

          girishG 1 Reply Last reply
          2
          • imc67I Online
            imc67I Online
            imc67
            translator
            wrote on last edited by
            #5

            @jeau said in What is the RAM usage for this?:

            To upload large files, Omeka users prefer to use the FileSideload module.

            O, ok, that’s a good learning, thanks!

            1 Reply Last reply
            3
            • jeauJ jeau

              @imc67 these values are defined (by Omeka app Dockerfile) in /etc/php/7.4/apache2/php.iniand refer to mod_php sessions for Apache.

              ; Maximum amount of memory a script may consume (128MB)
              ; http://php.net/memory-limit
              memory_limit = 128M
              
              ; Maximum size of POST data that PHP will accept.
              ; Its value may be 0 to disable the limit. It is ignored if POST data reading
              ; is disabled through enable_post_data_reading.
              ; http://php.net/post-max-size
              post_max_size = 64M
              
              ; Maximum allowed size for uploaded files.
              ; http://php.net/upload-max-filesize
              upload_max_filesize = 64M
              

              To upload large files, Omeka users prefer to use the FileSideload module.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by girish
              #6

              @jeau For the PHP apps, we follow the customizable php.ini pattern. Line 26-29 basically. This way people can tweak those values as needed. One important thing to remember when packaging this way is that the app's WORKDIR has to be set to /app/code and not /app/data because apache behaves differently when it is started in a directory which has php.ini in it!

              1 Reply Last reply
              3
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search