ArcGIS Hosting Server javaw.exe consume high memory

1525
5
Jump to solution
02-15-2022 09:45 PM
Liliaaaaaa
New Contributor III

Hi folks,

The javaw.exe of our ArcGIS Hosting Server always consumes very high memory (as screenshot below) regardless of how many users/activities. Does anyone have similar experience? Not sure if this will cause any issue for the system? also how to address this high memory consumption issue?

Thank you!2022-02-16_14-39-49.png

1 Solution

Accepted Solutions
Scott_Tansley
MVP Regular Contributor

While a dedicated Hosting Server is quite lightweight in its memory usage.  However, as soon as you start adding map and imagery services (especially if the map services are dedicated instances) then the memory will grow significantly and this is somewhat 'average'. 

The following is a brand new server with no services on it:

Scott_Tansley_0-1645000548691.png

The following is an established production server (during a quiet time).  There are no image services, and only map services shows:

Scott_Tansley_1-1645000733622.png

There are a good number of much larger arcsoc.exe in your screenshot, and I think that if you were to stop the larger (image) services then you may see an associated drop in your Javaw memory usage.

Generally I recommend clients to separate out the hosting server from the general purpose (map/geoproc) machine and again from the Image Server, but this is obviously dependent on a range of practical and budgetary factors.  Refer to:

https://enterprise.arcgis.com/en/get-started/latest/windows/additional-server-deployment.htm#ESRI_SE...

Generally when  you throw lots of different service types onto one machine, then you start to see issues like you've observed.

Scott Tansley
https://www.linkedin.com/in/scotttansley/

View solution in original post

5 Replies
Scott_Tansley
MVP Regular Contributor

Is it purely a hosting server or do you have map (or other) services running as well?

Scott Tansley
https://www.linkedin.com/in/scotttansley/
0 Kudos
JervinAlbeso
New Contributor III

There are other services living in the server like Map Service and Image Service.

0 Kudos
Scott_Tansley
MVP Regular Contributor

While a dedicated Hosting Server is quite lightweight in its memory usage.  However, as soon as you start adding map and imagery services (especially if the map services are dedicated instances) then the memory will grow significantly and this is somewhat 'average'. 

The following is a brand new server with no services on it:

Scott_Tansley_0-1645000548691.png

The following is an established production server (during a quiet time).  There are no image services, and only map services shows:

Scott_Tansley_1-1645000733622.png

There are a good number of much larger arcsoc.exe in your screenshot, and I think that if you were to stop the larger (image) services then you may see an associated drop in your Javaw memory usage.

Generally I recommend clients to separate out the hosting server from the general purpose (map/geoproc) machine and again from the Image Server, but this is obviously dependent on a range of practical and budgetary factors.  Refer to:

https://enterprise.arcgis.com/en/get-started/latest/windows/additional-server-deployment.htm#ESRI_SE...

Generally when  you throw lots of different service types onto one machine, then you start to see issues like you've observed.

Scott Tansley
https://www.linkedin.com/in/scotttansley/
Liliaaaaaa
New Contributor III

Thanks @Scott_Tansley , "throw lots of different service types onto one machine" would be the reason for our environment. Would increase SOC maximum heap size ease this high javaw memory consumption?

0 Kudos
Scott_Tansley
MVP Regular Contributor

i believe so, it probably needs more analysis to find out what's going on.  But it's not uncommon to need a lot of memory on an ArcGIS Server that is trying to do everything for everyone.  Obviously I have no sight of your specific situation.

Scott Tansley
https://www.linkedin.com/in/scotttansley/