Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse performance on Azure Virtual Desktop(Issues running Eclipse on Azure Virtual Desktop)
Eclipse performance on Azure Virtual Desktop [message #1866219] Wed, 22 May 2024 13:53 Go to next message
Eclipse UserFriend
Greetings,
We have users running Eclipse 2024-06 on an Azure Virtual Desktop, Windows 10, 4 Core, 16GB RAM, 128GB disk.
The one particular user is running Eclipse from her Downloads folder in OneDrive, so not sure whether that is relevant or not but thought it was worth mentioning.
In any event, the issue we are running into, and this is across multiple users, they fire off some automation process and after about 10 minutes (they tell me the process should take approximately 20 - 30 minutes to complete) user gets disconnected from AVD and is unable to log back in.
The only thing we can do is restart the VM in Azure and then the user is able to log back in.
Based on what I found on the web I modified the eclipse.ini file adding a line which is supposed to limit the CPU usage to two of the four available cores, but that did not seem to help.
In Azure monitoring of the AVD we see CPU utilization at 90% and at times spiking to 100% as well as 88% memory consumption by Eclipse.
Would really appreciate some guidance here. Please keep in mind, I am not a developer, just a sys admin, with no prior exposure to Eclipse.
Thank you in advance!
Barry
Re: Eclipse performance on Azure Virtual Desktop [message #1866252 is a reply to message #1866219] Thu, 23 May 2024 10:31 Go to previous message
Eclipse UserFriend
The -XX:ActiveProcessorCount=n might help:

https://stackoverflow.com/questions/59882464/does-javas-activeprocessorcount-limit-the-number-of-cpus-the-jvm-can-use

You can add it as a line all by itself in the eclipse.ini after the -vmargs line.

Something like -XX:MaxRAMPercentage=33 might help limit memory to 1/3 of what's available. This is also a VM option that could similarly be added as the previous one.
Previous Topic:External Tool / File in Editor
Next Topic:User Libraries
Goto Forum:
  


Current Time: Sat Apr 19 21:25:36 EDT 2025

Powered by FUDForum. Page generated in 0.07824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top