peacemaker Expert Licensed User Longtime User Sep 10, 2022 #1 Hi, All I'm trying to start my first ABMaterial web-app at Linux VDS with 2GB RAM. The very first start was successful, stop and restart of a new .jar - also was OK - without #VirtualMachineArgs directive. But after these 2 starts - i cannot start a new .jar version any more. Always OutOfMemory error. Directive like "#VirtualMachineArgs: -Xms1024m -Xmx1024m" - does not help. Restarting VDS host also does not help... At Win10 dev machine the started OpenJDK Platform binary consumes just 80...82 MB. How to dig ?
Hi, All I'm trying to start my first ABMaterial web-app at Linux VDS with 2GB RAM. The very first start was successful, stop and restart of a new .jar - also was OK - without #VirtualMachineArgs directive. But after these 2 starts - i cannot start a new .jar version any more. Always OutOfMemory error. Directive like "#VirtualMachineArgs: -Xms1024m -Xmx1024m" - does not help. Restarting VDS host also does not help... At Win10 dev machine the started OpenJDK Platform binary consumes just 80...82 MB. How to dig ?
Erel B4X founder Staff member Licensed User Longtime User Sep 11, 2022 #2 Please post the full error message from the logs. Upvote 0
alwaysbusy Expert Licensed User Longtime User Sep 11, 2022 #3 What is the value of SessionMaxInactiveIntervalSeconds? What is the value you pass in the page initialization e.g. page.InitializeWithTheme(Name, "/ws/" & AppName & "/" & Name, False, X, theme), what is 'X'? Upvote 0
What is the value of SessionMaxInactiveIntervalSeconds? What is the value you pass in the page initialization e.g. page.InitializeWithTheme(Name, "/ws/" & AppName & "/" & Name, False, X, theme), what is 'X'?
peacemaker Expert Licensed User Longtime User Sep 12, 2022 #4 alwaysbusy said: SessionMaxInactiveIntervalSeconds Click to expand... 30*60 = 30min java -Xmx1024M -jar result.jar Click to expand... helped Upvote 0
alwaysbusy said: SessionMaxInactiveIntervalSeconds Click to expand... 30*60 = 30min java -Xmx1024M -jar result.jar Click to expand... helped