Strategy to throttle resource allocation

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Strategy to throttle resource allocation

Postby amitchell1698743475 » Wed Jan 22, 2025 11:28 am

Hi guys,

I was wondering what strategies/techniques/software you use to test running your application with reduced resources.

When running my application locally (MacBook Pro 2023, Apple M2 Max, 32GB) some of the more resource intensive parts of the UI run fine, however when running on our Servoy Cloud environment, they are noticeably slower.

I am aware that the '-Xms' and '-Xmx' values in the servoy.ini file can be changed. When I looked for this file, I noticed it was in a strange location, I moved it back to /Applications/Servoy.app/Contents/application_server/servoy.ini (I think this is where it should live). I reduced the values here, restarted Servoy Developer and my application but it doesn't seem to have changed the available memory.

Doing some research, I also found the command line tool cputhrottle which can limit the CPU usage of a process to which it attaches. Does anyone have any experience using this?

I would appreciate any advice/comments.

Thanks in advance!

Alex.
amitchell1698743475
 
Posts: 3
Joined: Tue Oct 31, 2023 11:11 am

Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 4 guests