RapidMiner

‎08-22-2018 08:23 PM
Screen Shot 2018-08-22 at 8.21.15 PM.png

Symptoms 

  • You've just updated to Rapidminer Server 9 which is awesome but your server only shows 2GB of memory.  
  • Even after you've updated the max-memory.conf settings you still can't get it to start without more than 2GB of memory available to the server core.

Diagnosis

  •  You may be victim to a configuration issue in which your system is using the default 2048M setting instead of your own licensed amount.

Solution

 We are going to make a change to your standalone.conf.bat file to reflect the correct setting. 

 

Inside of your \rapidminer-server\rapidminer-server-9.0.0\bin\ you will find standalone.conf.bat 

 

Locate the following segment:

 

if exist %DIRNAME%\..\standalone\configuration\max-memory.conf (
set /p MAX_MEMORY_CONFIG=<%RAPIDMINER_SERVER_HOME%\configuration\max-memory.conf
) else (
set MAX_MEMORY_CONFIG=2048m
)

Now make the following adjustment:

 

if exist %RAPIDMINER_SERVER_HOME%\configuration\max-memory.conf (
set /p MAX_MEMORY_CONFIG=<%RAPIDMINER_SERVER_HOME%\configuration\max-memory.conf
) else (
set MAX_MEMORY_CONFIG=2048m
)

 

By updating the "if" statement we are making sure that it is looking to the new max-memory.conf file that is located in your rapidminer server home folder.

Comments
Unicorn
Unicorn

Hi, I had the same problem on Ubuntu, but the standalone.conf file seemed already ok (updated 8.2 to version 9.0.1) and was pointing to the correct home folder. The max-memory.conf file also contained the correct value.

 

I managed to get full memory by just modifying the set MAX_MEMORY_CONFIG in the standalone.conf file from 2048 to my max allowed memory but would like to know if there can be other reasons for the behaviour.