Linked Questions

220 votes
6 answers
114k views

For my application, the memory used by the Java process is much more than the heap size. The system where the containers are running starts to have memory problem because the container is taking much ...
Nicolas Henneaux's user avatar
14 votes
2 answers
3k views

I am creating a scheduled executor to read the memory usage of the JVM. I have come across two ways to get memory statistics in a running JVM - Runtime & MemoryMXBean, with the following ...
user avatar
1 vote
3 answers
17k views

I was just ruined by this error for the whole week. I really don't know what happened, I got this error after compiling the source, I yet write custom code there, the source is fresh from the repo. I ...
Laggio Vanotto's user avatar
4 votes
1 answer
3k views

MemoryMXBean.getHeapMemoryUsage() I have a jvm process that ran with -Xms512m -Xmx512m, and below show the MemoryMXBean.getHeapMemoryUsage() of this process: init = 512M used = 105M ...
winflex's user avatar
  • 133
1 vote
1 answer
3k views

I'm trying to return large file from JAX-WS service method, but getting strange client error. Here is my code: @WebService(targetNamespace = "http://java.CAEServer", portName = "CAEInstance") public ...
skayred's user avatar
  • 10.7k
2 votes
2 answers
1k views

I found that it can be easily done using java from this answer but couldn't find yet how to do it if my applicating is written using C#.NET and xamarin libraries. How to get those same datas (current ...
Fnr's user avatar
  • 2,304
0 votes
2 answers
2k views

Just before starting to explain you my problem, I would like to share with you the libraries' versions that I use and the server: javax.ws.rs-api: 2.0.1 jersey-container-servlet: 2.13 jersey-media-...
King-Wizard's user avatar
  • 15.7k
2 votes
3 answers
655 views

I have a program in which I want to allocate the largest array possible. Is there a way in Java to query the VM to find out what that is? If so, how can I do it? My latest attempt at getting the ...
Bruce Feist's user avatar
1 vote
1 answer
978 views

So I have just started using Scala and have the following code to create an IndexedSeq of dummy data called out. The dummy data consists of 20000 tuples each containing a 36 character unique ...
jay--bee's user avatar
  • 712
1 vote
0 answers
521 views

I want to change the heap size made available to the multiple Upsource processes (frontend, cassandra, etc) when running it in a docker container. I'm trying to make the configuration by using the ...
Alberto's user avatar
  • 311
3 votes
2 answers
140 views

I am testing a game solver that tracks solved positions in a Map<Long, Integer> solvedPositions where Long is positionID and Integer holds smallest known ply count to reach this position. Solver ...
Stepan's user avatar
  • 1,431