memory-consumption

Does the memory used by file_get_contents() get released when it is not assigned to a variable?

When I use file_get_contents and pass it as a parameter to another function, without assigning it to a variable, does that memory get released before the script execution finishes? For Example: preg_match($pattern, file_get_contents('http://domain.tld/path/to/file.ext'), $matches); Will the memory used by file_get_contents be release...

sql server 2008 takes alot of memory?

I making stress test on my database which is hosted on sqlserver 2008 64bit running on 64bit machine 10 GB of RAM. I have 400 threads each thread query the database for every second but the query time does not take time as the sql profiler says that, but after 18 hours sql takes 7.2 GB RAM and 7.2 on virtual memroy. Does is this normal ...

How can I know how much memory Eclipse plugins use (separately)

Is there a way to know how much memory is consumed by each Eclipse plugin separately? ...

How to achieve low memory consumption?

I want to know which technique antivirus programs use for scanning disk or files and maintaining low memory consumption. They don't affect the user activity either. I am looking for an approach by which we can achieve disk scanning with low memory consumption. ...

why does Jetty not use all allocated memory?

Hi folks, we develop the webapp with Grails. In productio the webapp runs on Jetty. We used JMeter to run performance-test and yourkit to analyse the memory consumtion of jetty. We started Jetty with params -Xms1500m -Xmx1500m, so in yourkit we can also see the allocated memory is about 1,5gb. But Jetty does not use it all, all time al...

Resrouce consumption in WPF

Hello, I'm looking at WPF to develop the front-end of a proposed application where I work and really I'm here just looking for other peoples experiences of how memory intensive WPF applications are in general? I've tried a few openly avaliable applications and to me they seem pretty memory intensive, so what are your experiences, with ...

How to log the memory consumption on Linux?

Is there any ready-to-use solution to log the memory consumption from the start of the system? I'd like to log the data to simple text file or some database so I can analyze it later. I'm working on Linux 2.4-based embedded system. I need to debug the problem related to memory consumption. My application automatically start on every sys...

.Net OutOfMemory on Server but not Desktop

Is it possible that the .Net framework behaves differently when it comes to garbage collection / memory limitations on server environments? I am running explicitly x86 compiled apps on a 64bit server machine with 32gbs of physical ram and I am running out of memory (SystemOutOfMemoryException) even though nothing but that particular app ...

Linux process memory consumption in bytes (not Kbytes)

In Linux is there any way to check processes memory measured on bytes (using top or ps for example). Not in kbytes, but bytes. Thanks in advance! ...

Best way to measure Memory Usage of a Java Program?

I'm currently using visualvm, but the problem I'm having is that I can't save the graphs it generates. I need to report some data about its memory usage and running time, though running time is easy to get with System.nanoTime(). I've also tried the netbeans profiler but it isn't what I want, since I'm not looking for specific parts that...