Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to specify maximum memory a pony program is allowed to use #3282

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Aug 8, 2022

  1. Add ability to specify maximum memory a pony program is allowed to use

    Prior to this commit, a pony program would keep growing in terms of
    memory use until the OS would be unable to allocate more virtual
    memory.
    
    This commit adds a new `--ponymaxmem` command line argument to limit
    the maximum amount of dynamically allocated memory a pony program is
    allowed to use before the runtime refuses to allocate any more. The
    limit enforced is in MB and does not exactly match the RSS of a
    process in linux due to memory allocated by the process outside of
    the pony pool allocator.
    dipinhora committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    4b70dda View commit details
    Browse the repository at this point in the history
  2. Add aggressive gc threshold and factor functionality

    This commit adds two new command line arguments to allow for
    enabling aggressive GC when the program is using more than a set
    threshold of memory. The new command line options are
    `--ponyaggressivegcthreshold` and `--ponyaggressivegcfactor`.
    dipinhora committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    33a7faf View commit details
    Browse the repository at this point in the history
  3. Add ability to send arrays in pings to message-ubench

    This commit enhances the message-ubench example application to be
    able to send arrays of arbitrary sizes as part of pings from one
    actor to another. It also includes the ability to specify how long
    a receiving actor should hold on to arrays before freeing them for
    GC.
    dipinhora committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    a807ed4 View commit details
    Browse the repository at this point in the history
  4. Fix arm compile error

    dipinhora committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    f59ccdc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c80d99a View commit details
    Browse the repository at this point in the history