Giter Site home page Giter Site logo

Memory Limits about papyruscs HOT 5 CLOSED

papyrus-mc avatar papyrus-mc commented on May 31, 2024
Memory Limits

from papyruscs.

Comments (5)

mjungnickel18 avatar mjungnickel18 commented on May 31, 2024 1

I'll try to add some flags to force Garbage Collection and further reduce the memory footprint. Maybe that will help.

from papyruscs.

mjungnickel18 avatar mjungnickel18 commented on May 31, 2024

Try using 0.3.6 and beyond. It seriously reduces the menory usage. Setting - - threads should improve it further

from papyruscs.

pogzie avatar pogzie commented on May 31, 2024

my last configuration was 1 CPU and 1Gb ram. still OOMing. my minecraft configuration is 0.5 CPU and 1gb ram so I dont think that setting more than 1gb for a map renderer doesnt make much sense, or rather counter productive.

i've already halved the default and set 8 threads than the default 16. i havent tried 0.3.6, i will do so today.

from papyruscs.

pogzie avatar pogzie commented on May 31, 2024

Yeah unfortunately it still cant render with 1 CPU and 1GB memory allocation. Still OOMing.

[Sun Jul  7 11:56:22 2019] Memory cgroup stats for /docker/61726f76da03dd613145f0ef7c884656a2f1947a50705a0ee773dffd5d39ab44: cache:4KB rss:1048572KB rss_huge:0KB mapped_file:0KB swap:1577168KB inactive_anon:524276KB active_anon:524012KB inactive_file:4KB active_file:0KB unevictable:4KB
[Sun Jul  7 11:56:22 2019] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
[Sun Jul  7 11:56:22 2019] [31957]     0 31957     4489      313      14       74             0 entrypoint.sh
[Sun Jul  7 11:56:22 2019] [31983]     0 31983     6996      200      20       69             0 cron
[Sun Jul  7 11:56:22 2019] [31984]     0 31984     4490      313      14       75             0 generate_map.sh
[Sun Jul  7 11:56:22 2019] [31988]     0 31988  1526917   267329    1567   395930             0 PapyrusCs
[Sun Jul  7 11:56:22 2019] [ 1204]     0  1204     4548      401      14      127             0 bash
[Sun Jul  7 11:56:22 2019] Memory cgroup out of memory: Kill process 1467 (PapyrusCs) score 974 or sacrifice child
[Sun Jul  7 11:56:22 2019] Killed process 31988 (PapyrusCs) total-vm:6107668kB, anon-rss:1040024kB, file-rss:29292kB, shmem-rss:0kB

I've set the thread lower from the default 16 to 8. I will lower even more and see.

from papyruscs.

pogzie avatar pogzie commented on May 31, 2024

Changed down to 4 threads still OOMing.

from papyruscs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.