Reducing the usage computer resources

Questions about MultiCharts and user contributed studies.
andreinvest
Posts: 23
Joined: 27 Oct 2019
Has thanked: 14 times
Been thanked: 1 time

Reducing the usage computer resources

Postby andreinvest » 04 May 2021

Hello!

I have Multicharts 64 bit. Now I have everything loaded just like you can see on the 1st pic I attached. I have 110 charts launched.
2 days ago just after I started automatic trading I had less usage of the computer resources as you can see on 2nd attached pic.
Resource consumption is increased.

How can I reduce resource consumption?
Attachments
2021-05-04_20-07-15 (2).jpg
(70.71 KiB) Not downloaded yet
2021-05-02_15-03-37 (2).jpg
(140.74 KiB) Not downloaded yet

User avatar
TJ
Posts: 7497
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1003 times
Been thanked: 2147 times

Re: Reducing the usage computer resources

Postby TJ » 04 May 2021

Your memory is at the limit.

Probably some process crashed. You need to reboot.

andreinvest
Posts: 23
Joined: 27 Oct 2019
Has thanked: 14 times
Been thanked: 1 time

Re: Reducing the usage computer resources

Postby andreinvest » 04 May 2021

Your memory is at the limit.

Probably some process crashed. You need to reboot.
I have rebooted. But what it should be done in future?
reboot every day?

The consumption of computer resources increased over time and grew to a maximum. May be it happen because of market data or logs ?

will it be better if change to .NET version ?

andreinvest
Posts: 23
Joined: 27 Oct 2019
Has thanked: 14 times
Been thanked: 1 time

Re: Reducing the usage computer resources

Postby andreinvest » 04 May 2021

2021-05-05_03-00-00.jpg
(22.11 KiB) Not downloaded yet
this error message was appeared

andreinvest
Posts: 23
Joined: 27 Oct 2019
Has thanked: 14 times
Been thanked: 1 time

Re: Reducing the usage computer resources

Postby andreinvest » 04 May 2021

what configuration of computer we need to run 100 or 200 charts ?
Attachments
2021-05-05_02-55-06.jpg
who eats processor
(24.11 KiB) Not downloaded yet
2021-05-05_03-20-29.jpg
one more message
(13.8 KiB) Not downloaded yet

User avatar
TJ
Posts: 7497
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1003 times
Been thanked: 2147 times

Re: Reducing the usage computer resources

Postby TJ » 04 May 2021

You can use LiveChat with techsupport. They can give you help.

User avatar
syswizard
Posts: 261
Joined: 15 Dec 2012
Has thanked: 15 times
Been thanked: 23 times

Re: Reducing the usage computer resources

Postby syswizard » 06 May 2021

Put each of these into a separate core:
1) multicharts.exe
2) server.exe
3) tsserver.exe

Make sure you have stripped-out all windows processes that are not essential. Example: windows indexer
https://www.computerworld.com/article/3 ... ws-10.html

andreinvest
Posts: 23
Joined: 27 Oct 2019
Has thanked: 14 times
Been thanked: 1 time

Re: Reducing the usage computer resources

Postby andreinvest » 07 May 2021

thank you

andreinvest
Posts: 23
Joined: 27 Oct 2019
Has thanked: 14 times
Been thanked: 1 time

Re: Reducing the usage computer resources

Postby andreinvest » 08 May 2021

Put each of these into a separate core:
1) multicharts.exe
2) server.exe
3) tsserver.exe

Make sure you have stripped-out all windows processes that are not essential. Example: windows indexer
https://www.computerworld.com/article/3 ... ws-10.html
"Put each of these into a separate core:"

how to do that ?

User avatar
syswizard
Posts: 261
Joined: 15 Dec 2012
Has thanked: 15 times
Been thanked: 23 times

Re: Reducing the usage computer resources

Postby syswizard » 09 May 2021

"Put each of these into a separate core:"
how to do that ?
Not sure the core can change for server.exe and tsserver.exe, but it certainly can for multicharts.exe:
Just substitute Multicharts.exe and it's path for IBGateway here:
echo off
START "" /HIGH /B /MIN /AFFINITY 0xC "C:\Jts\ibgateway\978\ibgateway.exe"
The 0XC specifies the core.
You will then start Multicharts using this short-cut.
Whatever you do, never specify REALTIME for the priority....that will increase the chances of locking up your machine.

Also, for setting and keeping priority levels, see this:
https://www.raymond.cc/blog/permanently ... with-prio/
I once used PRIO and it was great, but I understand it is no longer supported and will not work in Windows 10.

If you want to get really geeky, read this article:
https://docs.microsoft.com/en-us/window ... dfrom=MSDN

User avatar
syswizard
Posts: 261
Joined: 15 Dec 2012
Has thanked: 15 times
Been thanked: 23 times

Re: Reducing the usage computer resources

Postby syswizard » 09 May 2021

IndexerOffOn.zip
(290 Bytes) Downloaded 4 times
Finally, here is the code to set the CPU hogging windows indexer off and on. Pass a "0" parameter to set it off, no parameter or any parameter to set it back on.


Return to “MultiCharts”