I know this has something to do with Instruments, but well it's kind of confusing and searching for Instruments on Google doesn't help much.
I'd like to know how well my app runs, like how much memory it uses. I just don't know where to find something like:
"As close as we can tell from the simulator you'll app will currently be using x...
Hi,
What way or which profiler tool I should use to see a specific web page's memory consumption?
Does it make a difference if it belongs to a TAB in an individual browser window?
Thanks
...
I've been looking everywhere trying to find a solution to this problem. Nothing seems to help.
I've set up this basic test to try to find the cause of why my memory wasn't being freed up:
if (texture != nil)
{
[texture release];
texture = nil;
}
else
{
UIImage* ui = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResourc...
HI, I upload my php testing script to online vps server just now. The script used to parse a big size XML file(about 4M, 7000Lines). But my IE explorer show the online error message below.
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 77 bytes) in /var/www/test/result/index.php on line 26
I am sure I ...
I have a C++ code compiled with Intel compiler, 32bit, in MS VC6 mode, so using either msvcrt.dll or msvcrtd.dll. The process makes heavy memory allocation and deallocation. I monitor the memory usage with WMI and look at VirtualSize and WorkingSetSize.
with debug runtime (msvcrtd.dll): virtual constant 1.7GB, working constant 1.2GB
w...
Which has the biggest impact?
Building ASP.NET applications in release vs debug mode
Setting <compilation debug="true"> in web.config
Has anyone done any testing to get actual numbers about what the differences are, considering performance and memory usage? (Perhaps other metrics are useful as well?)
For example, something like:
E...
I'm writing a parser in PHP which must be able to handle large in-memory strings, so this is a somewhat important issue. (ie, please don't "premature optimize" flame me, please)
How does the substr function work? Does it make a second copy of the string data in memory, or does it reference the original? Should I worry about calling, for...
I have a Java class in which every method was defined as static. So that I don't have to re-write the class, and then a good bit of code that depends upon it, I'm adding in some error reporting via an instance variable. However, Java doesn't seem to be able to access instance variables from class methods. I read Sun's description of clas...
As I was investigating excessive memory usage problems in my ASP.NET application I noticed that the production server seems to use a lot more RAM than my development machine for the exact same input. It turned out to be the difference between IIS (w3wp.exe) and WebDev.WebServer.EXE. I ran the same test on my machine in IIS and WebDev wit...
Why is the memory consumption in this query continuing to rise as the internal pointer progresses through loop? How to make this more efficient and lean?
$link = mysqli_connect(...);
$result = mysqli_query($link,$query); // 403,268 rows in result set
while ($row = mysqli_fetch_row($result))
{
// print time, (get memory usage), -- ...
I am doing a delphi application that will run on my pc 24/7 in the background and will check if it has to do some actions or not, wait 30 minutes and check again, and so on.
How can I make sure the application will not overload cpu or memory because of being running all the time.
...
I am parsing using a pretty large grammar (1.1 GB, it's data-oriented parsing). The parser I use (bitpar) is said to be optimized for highly ambiguous grammars. I'm getting this error:
1terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
dotest.sh: line 11: 16686 Aborted bitpar -p -b 1...
Hello, I've got problem with java jar files and memory.
I use netbeans 6.7 to develop an application and this application need more memory to run because it converts another files. Whenever this application convert a 6-10 mb file, it'll crash. So I set netbeans VM Options : -Xms32m -Xmx256m and the application can convert 6-10mb files w...
Hi all,
Frequent visitor but first post here on StackOverflow, I'm hoping that you guys might be able to help me out with this. I'm fairly new to Obj-C and XCode, and I'm faced with this really... weird... problem. Googling hasn't turned up anything whatsoever. Basically, I get an EXC_BAD_ACCESS signal on a line that doesn't do any dere...
I am getting 3 camera input to MATLAB with Infinite Trigger. But after minutes, cameras fill up my memory, and I have to restart MATLAB. How can I deal with this memory problem?
...
Is there some way to free all resources used by certain object ?
If not, why wouldn't I use the GC.Collect() method ?
...
For either List with n elements, which (if any) requires more storage on x64 machine:
List<int>
-or-
List<long>
I guess the question can be rephrased as:
On x64, does an int take any less space than a long?
...
Hi,
Our application is written in .NET (framework 3.5). We are experiencing problems with the applications performance when deployed in a terminal services environment. The client is using a TS farm. They have 4GB ram and a decent xeon processor.
When the application is opened in this environment, it sits at 25% CPU usage even when id...
Hello,
I've been staring at the Memory Monitor in Instruments and I am scratching my had. Why is it displaying virtual memory? iPhone OS has no virtual memory. What does it mean?
My concern is that I am getting memory warnings for my iPad app but the apps real memory never exceeds 70MB and the virtual memory never exceeds 180MB?
Could...
The app I am working on needs to read a JSON file that may be anywhere from 1.5 to 3 MB in size. It seems to have no problem opening the file and converting the data to a string, but when it attempts to convert the string to a JSONArray, OutOfMemoryErrors are thrown. The exceptions look something like this:
E/dalvikvm-heap( 5307): Out ...