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

"killed" when running bin/market_manager_optimized #18

Open
ghost opened this issue Mar 1, 2021 · 1 comment
Open

"killed" when running bin/market_manager_optimized #18

ghost opened this issue Mar 1, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 1, 2021

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.

@kasselouris
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant