FYI
Changing the initial chunk size to 25 MB cured the AV.
David
Search found 17 matches
- Thu Aug 31, 2023 11:37 am
- Forum: madExcept
- Topic: Access Violation in MadExcept32.dll
- Replies: 3
- Views: 31564
- Wed Aug 30, 2023 2:53 pm
- Forum: madExcept
- Topic: Access Violation in MadExcept32.dll
- Replies: 3
- Views: 31564
Re: Access Violation in MadExcept32.dll
Hi
Actually in this case only 160 MB
lChunkSize := File_Stream.Size;
The 1GB limit is for stupid sized files.
I'll try and reduce the size when leak checking to see if that addresses the issue, assuming there's no way to turn off leak checking for a specific method ?
David
Actually in this case only 160 MB
lChunkSize := File_Stream.Size;
The 1GB limit is for stupid sized files.
I'll try and reduce the size when leak checking to see if that addresses the issue, assuming there's no way to turn off leak checking for a specific method ?
David
- Wed Aug 30, 2023 11:55 am
- Forum: madExcept
- Topic: Access Violation in MadExcept32.dll
- Replies: 3
- Views: 31564
Access Violation in MadExcept32.dll
The following code causes an AV in Madexcept32.dll I've tried calling MadExcept.StopLeakChecking before this routine, but it makes no difference (turning off leak checking completely lets the code runs fine) . Any suggestions ? lNoMem := true; if File_Stream.Size > high(Integer) then lChunkSize := 1...
- Thu Aug 24, 2023 10:22 pm
- Forum: madExcept
- Topic: Hiding a leak
- Replies: 3
- Views: 9326
Re: Hiding a leak
Thanks.
Could I do that before the leak report is displayed or do you mean doing something afterwards ?
Cheers
David
Could I do that before the leak report is displayed or do you mean doing something afterwards ?
Cheers
David
- Thu Aug 24, 2023 8:37 pm
- Forum: madExcept
- Topic: Hiding a leak
- Replies: 3
- Views: 9326
Hiding a leak
Is there anyway to hide a leak based on the callstack AND the size ? I'm currently hiding this leak madexcept.HideLeak('VirtualAllocCallback|TnxMemoryStream.msRealloc'); but the scenarios where it's a false positive are where the leak is exactly 4096 bytes. If it's any more or any less then I need t...
- Thu Aug 24, 2023 2:13 pm
- Forum: madExcept
- Topic: Leak not being detected.
- Replies: 2
- Views: 5256
Re: Leak not being detected.
Odd. Fixed a few real leaks and now this leak is showing ... Computers eh?!
- Thu Aug 24, 2023 12:19 pm
- Forum: madExcept
- Topic: Leak not being detected.
- Replies: 2
- Views: 5256
Leak not being detected.
I've added the following code to my form, but it's not showing up as a leak (other leaks are). What might be wrong ? procedure TMainGUI_Form.FormShow(Sender: TObject); var lLeakCheckList : TStringlist; begin lLeakCheckList := TStringList.Create; lLeakCheckList.Add('Expect to see this leak'); showmes...
- Thu Aug 24, 2023 12:05 pm
- Forum: madExcept
- Topic: Leak detection from command line compiler
- Replies: 2
- Views: 5186
- Thu Aug 24, 2023 9:16 am
- Forum: madExcept
- Topic: Leak detection from command line compiler
- Replies: 2
- Views: 5186
Leak detection from command line compiler
I'm sure this should be obvious, but I can't work out how to turn on leak detection when building via the command line compiler. Is it just sufficient to add the LeakChecking conditional define ?
- Fri Feb 12, 2021 4:59 pm
- Forum: madExcept
- Topic: Displaying first exception message
- Replies: 2
- Views: 2981
Re: Displaying first exception message
Maybe it would make sense to add a try..except block to catch the "The operation could not be completed in the allotted time" exception and handle it more nicely? and that has made me realise what the error actually is. There is an exception handler and it's in that exception handler that...
- Thu Feb 04, 2021 10:00 am
- Forum: madExcept
- Topic: Displaying first exception message
- Replies: 2
- Views: 2981
Displaying first exception message
Using MadExcept V5 + Delphi Sydney. A user just sent me the following Madexcept report, asking how could we have created a situation where a database wasn't initialised correctly. Looking at the report I can see that although the TDataset is reporting Dataset not in edit or insert mode , really the ...
- Fri Feb 14, 2020 9:59 am
- Forum: madExcept
- Topic: Hiding Leaks
- Replies: 1
- Views: 3716
Hiding Leaks
I'm trying to hide a memory leak in TnxMessageRelayClient I have this in my code initialization madexcept.hideleak(TnxMessageRelayClient,1000); madexcept.hideleak(TnxBaseSession,1000); madexcept.ReportLeaks := True; but the memory leak is still being reported memory main thread ($fcc): 671a6c2c madE...
- Thu Feb 13, 2020 5:23 pm
- Forum: madExcept
- Topic: Latest Madexcept32.dll Version
- Replies: 2
- Views: 3983
Re: Latest Madexcept32.dll Version
Brilliant. Thanks
- Thu Feb 13, 2020 4:27 pm
- Forum: madExcept
- Topic: Latest Madexcept32.dll Version
- Replies: 2
- Views: 3983
Latest Madexcept32.dll Version
Just noticed that my MadExcept32.dll version is 4.0.6 from 2018, even though everything else in Madexcept reports version 5 from 2019.
Has something gone wrong with my install or is this the latest dll version ?
Has something gone wrong with my install or is this the latest dll version ?
- Thu Mar 01, 2018 1:10 pm
- Forum: madExcept
- Topic: Windows Service
- Replies: 5
- Views: 7237
Re: Windows Service
After lots of faffing about, trying this approach and that code etc etc, I suddenly realised that I couldn't see the woods for the trees as there was a try...except around the whole service engine code of mine. Removed that and now working as expected.