Contributions
stl vector leak?
The allocation profiler suggest that code is leaking ... 4 bytes At the lowest level, before the memory allocation // TEMPLATE FUNCTION _Allocate template<class _Ty> inline _Ty _FARQ *_Allocate(_SIZT _Count, _Ty _FARQ *) {// check for integer overflow if (_Count <= 0) _Count = 0; else if (((_SIZT)(-1) / _Count) < sizeof (_Ty)) _THROW_NCEE(std::bad_alloc, NULL); // allocate storage for _Count elements of type _Ty return ((_Ty _FARQ *)::operator new(_Count * sizeof (_Ty))); } Are there any known issues with AQTime and the stl vector?14 years agoPlace AQtime QuestionsAQtime Questions13KViews0likes1Commentmemory block violation
From the user manual Finding memory block violations When an application is running under AQtime, it traces the attempts to write data beyond the allocated memory blocks. To enable the tracing, activate the Check Memory Bounds of the Allocation profiler. See Checking Bounds of Memory Blocks to learn more about this feature. If a memory violation occurs, the Event View panel posts the following message: “AQtime detected unexpected data written before (or after) a memory block”, followed by the block address and it’s size. Further investigation can be made using the Objects category of the Report panel. 1. Select a memory violation row in the Report panel. This row holds the “Memory Overwrite Error” value in the class name column. For more detailed information on columns values, see the Allocation Profiler - Report Panel Columns. I receive this error but I do not have “Memory Overwrite Error” in the class name column anywhere. I do not think i have anything filtered... that I am aware of anyway thoughts? thanks15 years agoPlace AQtime QuestionsAQtime Questions15KViews0likes1Comment