MantisBT - ITK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010252 | ITK | public | 2010-02-08 11:33 | 2011-06-30 16:14 | |
| Reporter | monica hernandez | ||||
| Assigned To | kentwilliams | ||||
| Priority | normal | Severity | major | Reproducibility | unable to reproduce |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | ITK-3-16 | ||||
| Target Version | Fixed in Version | ||||
| Resolution Date | |||||
| Sprint | |||||
| Sprint Status | backlog | ||||
| Summary | 0010252: MemoryProbesCollectorBase does not work properly in my machine | ||||
| Description | I am trying to use the class itk::MemoryProbesCollectorBase in order to track the memory usage of my ITK based code. I am getting some weird results, for example, my code takes 1Gb of memory usage (using top command). However the report does not provide such information. In addition I am getting negative results of memory usage in specific locations of my code. I used this code below in order to allocate some memory and see if the memory collector works fine for a simpler code. However, the report says that the process takes 0 Kb of memory usage. I am working on a Suse 11.0 64 bits machine. int main( int argc, char **argv ) { itk::MemoryProbesCollectorBase mcollector; mcollector.Start( "Update" ); size_t numberOfBytes = atol(argv[1] ); char * buffer = new char[numberOfBytes]; mcollector.Stop( "Update" ); mcollector.Report(); delete [] buffer; return 0; } | ||||
| Steps To Reproduce | |||||
| Additional Information | Luis IbaƱez told me that the problem could be located at Insight/Utilities/kwsys/SystemInformation.cxx so maybe this class would be the starting point. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-02-08 11:33 | monica hernandez | New Issue | |||
| 2010-11-02 14:00 | Hans Johnson | Status | new => assigned | ||
| 2010-11-02 14:00 | Hans Johnson | Assigned To | => Luis Ibanez | ||
| 2010-11-07 03:00 | Luis Ibanez | Assigned To | Luis Ibanez => Gabe Hart | ||
| 2011-06-17 12:49 | Hans Johnson | Assigned To | Gabe Hart => kentwilliams | ||
| 2011-06-17 12:50 | Hans Johnson | Note Added: 0026900 | |||
| 2011-06-21 11:22 | kentwilliams | Note Added: 0026939 | |||
| 2011-06-24 16:32 | kentwilliams | Note Added: 0026968 | |||
| 2011-06-30 16:14 | kentwilliams | Sprint Status | => backlog | ||
| 2011-06-30 16:14 | kentwilliams | Note Added: 0027000 | |||
| 2011-06-30 16:14 | kentwilliams | Status | assigned => closed | ||
| 2011-06-30 16:14 | kentwilliams | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||