+ Start a Discussion

Heap size not showing up on Limit Usage Profile in debug logs

In the dubug log I don't see heap size any more.Why is that? I thought I used to see it before.But when I do Limits.getHeapSize() I am getting some value. And I understand that call is costly so I wouldn't want to do that. I want to monitor this as I am dealing with large sets of data and don't wanna hit that up.


Here is some Limit usage statistics :

 Number of SOQL queries: 3 out of 100
  Number of query rows: 5 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Number of script statements: 499 out of 200000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 10
Andy BoettcherAndy Boettcher

Straight, Batch, or Scheduled APEX?


Straight. It's just a controller class for a visual force page.

Andy BoettcherAndy Boettcher

Wow - lookie there!  I just checked in a sandbox and prod org and you're 100% right...the heap size isn't showing any value.


Sounds like a support ticket to Salesforce...another Summer '12 issue perhaps?