68 questions
1
vote
1
answer
100
views
Calculate specific app's memory usage on C# [duplicate]
I’m trying to measure the RAM usage of a specific application using C# (.NET Framework 4.6.2).
I’ve already done some research and managed to get a result using Process.WorkingSet64,
but the value ...
0
votes
1
answer
96
views
How to get sizes of shareable and shared working sets for a process?
I'm trying to get the sizes of the shareable and shared working sets of a process.
This is the code that I use:
internal static unsafe WorkingSetInfo? GetWorkingSetInfo(SafeProcessHandle processHandle)...
0
votes
0
answers
434
views
cAdvisor reports high WSS, but low RSS and cache memory usage
I observed the following cAdvisor memory metrics for a container deployed in Kubernetes Service on Azure and am struggling to come up with an explanation. It's a .NET 6 program running in the ...
1
vote
1
answer
6k
views
Empty Working Set from cmd
I want to write a cmd script to periodically empty the working set from the command prompt. For now I empty the working set in the Rammap tool from sysinternals, but that can't be run by a script.
0
votes
0
answers
119
views
What is the Command to create Working-Set in Eclipse?
I'm working on script which create workspace and imports multiple project using Eclipse command line arguments
Now I want to create working sets with imported projects using command line arguments.
So ...
0
votes
1
answer
306
views
workingSet command doesn't show output
I don't know whether I am doing it right or wrong, so let me explain:
I am working on MongoDB version 2.6.6
I have sharded environment, which consists of 2 shards (replica sets), mongos & config ...
0
votes
0
answers
41
views
How to change active WorkingSets programmatically?
I started implementing a custom configuration dialog for a custom working set. Now I wanted to implement an activation/deactivation mechanism (checkboxes) for the visible WorkingSets in the Project ...
0
votes
0
answers
43
views
Can you upload an entire working set to GitHub from eclipse?
I'm studying computer science and I recently grouped all my projects by course to working sets.
Is there a way to upload a working set as a single project to GitHub?
It seems as if the working set ...
0
votes
1
answer
55
views
Adding function to existing gui component in Eclipse
So currently I'm developing an Eclipse Plug-In that works with working sets. These custom working sets are being created with a wizard, which also creates a .properties file with all required settings....
0
votes
1
answer
53
views
Select Eclipse WorkingSet with String
I am currently working on a Eclipse Plug-In (Java). The Plug-In is showing some files in a table, and when I double click the column, I want to select the Workingset which it is in. The method to get ...
3
votes
2
answers
2k
views
Working Set Selection Programmatically in Eclipse
I want to achieve the functionality of selecting a working set programmatically. I tried with the below code:
IWorkingSetManager wsMgr = PlatformUI.getWorkbench().getWorkingSetManager();
IWorkingSet ...
4
votes
1
answer
622
views
Closed projects in Eclipse don't appears in a working set in a package explorer
I recently installed a new version of eclipse (2018-09), and faced with this problem. So let say we have 4 opened projects A,B,C and D:
4 projects
And then we create new working set WS_01 with: View ...
3
votes
1
answer
2k
views
Retrieve memory consumption of a process
My AutoIt script automates test cases. I suspect something is leaking memory. It starts at 10 MB, when test cases are over it reaches around 40 MB (Task Manager values).
I want my AutoIt script to ...
0
votes
1
answer
85
views
How to bulk add/check paths to Eclipse resource working set?
I'm currently in a process of re-creating a resource working set in Eclipse, which would include ~130 projects.
But as I'm setting a resource working set, I don't let the projects checked, but instead ...
1
vote
1
answer
257
views
Memory reported in Resource Monitor not showing in UMDH
I have a service which intermittently starts gobbling up server memory over time and needs to be restarted to free it. I turned +ust with gflags, restarted the service, and started taking scheduled ...
7
votes
1
answer
15k
views
Eclipse CDT : How to manage multiple main() functions in a single C++ project?
I am starting the developpement of a project which will be made of multiple modules. I will validate each of those modules with a dedicated testbench, each with their main() function.
I would like to ...
1
vote
2
answers
999
views
Working Set Size- if thrashing occurs
I am confused about thrashing. Let's say we have a set of pages: 2 4 6 8 2 5 8 and working set size= 4. Are we supposed to move until the end of page size and then sum all working set sizes up then ...
0
votes
2
answers
1k
views
How to set PROCESS_SET_QUOTA to process?
I want to use SetProcessWorkingSetSize function, and on MSDN i see this:
"The handle must have the PROCESS_SET_QUOTA access right. For more information, see Process Security and Access Rights."
So, ...
3
votes
1
answer
84
views
variable in makefile, unexpected behaviour
I have makefile where I have noticed somethign peculiar.
On the line marked with <------, if I put $(OBJECTS) instead of String.o the compilation fails. But I defined OBJECTS=$(String.o), why does ...
0
votes
1
answer
38
views
Enable only Java working sets in IWorkingSetSelectionDialog
I am currently using a IWorkingSetSelectionDialog created by a IWorkingSetManager. By default, clicking on the "new..." button in this dialog asks the user which type of working set should be created. ...
2
votes
1
answer
2k
views
WSClock algorithm as approximation
I have a question regarding the WSClock algorithm used for page replacement in operating systems.
As far as I understand, the WSClock combines the features of both Working Set (a page is in the WS if ...
0
votes
4
answers
4k
views
possible to have two working sets? 1) data 2) code
In regards to Operating System concepts... Can a process to have two working sets, one that represents data and another that represents code?
1
vote
2
answers
3k
views
How to delete a read only working set in Eclipse
I can't delete some working set, when I cleared up my projects working sets. The properties of this working set is as following. How can I delete it?
My eclipse version: Juno SR1 20120920-0800
0
votes
1
answer
136
views
Eclipse Plugin: get contents of working set
I have an eclipse plugin which currently is able to get selected projects in the workspace using
IStructuredSelection structured = (IStructuredSelection) iServiceServiceObject.getSelection("org....
1
vote
2
answers
2k
views
How can I load two Eclipse projects with conflicting names in two different working sets?
I have two Eclipse working sets (WorkingSet 0.1.x and WorkingSet 0.2.x). I need to do work on them interchangeably, though neither interacts with the other. The problem is that some of the projects ...