Skip to content

"killed" when running bin/market_manager_optimized #18

Open

Description

Hi,

I just installed the code and was giving it a try but got the "killed" message when trying the optimized version of the market_manager (the non_optimized version runs without a problem).

Any idea of what is the problem?

Cheers

PS: all tests ran successfully.

Activity

  1. kasselouris commented on Mar 21, 2021

    @kasselouris

    Hi,

    It is probably getting "killed" because it loads your memory and swap to 100%.

    If you go to performance/market_manager_optimized.cpp line 382 you can resize orders to a smaller number and it will work fine. Be careful though if you resize too small you will get "Segmentation fault (core dumped)" especially if you use a really big itch file. So what you have to do is find the sweet spot number that will work for your system.

    Same thing applies for performance/market_manager_optimized_aggressive.cpp line 211 but it is way more forgiving with memory so your only problem will probably be a too small of a number(core dumped).

    Hope it helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions