Xcode profiler help
I am new to Xcode profiler , how can i see a simple memory leak difference
in the following 2 programs :
1 2 3 4 5 6 7
|
int main()
{
int* pp = new int[50000000];
for(int i =0;i<50000000;i++){
pp[i] = i;
}
}
|
1 2 3 4 5
|
int main()
{
int* pp = new int[1];
pp[0] = 10;
}
|
because when ever i try to make both of these programs run , i get only 1.5kB of live bytes
Thanks!
Topic archived. No new replies allowed.