Out of memory exception

kalvaro posted 5 years ago in Running SQL scripts
I got this while running a 1MB SQL dump:

date/time         : 2011-11-09, 11:28:41, 754ms
computer name     : *********
user name         : ********* <admin>
registered owner  : *********
operating system  : Windows XP Service Pack 3 build 2600
system language   : Spanish
system up time    : 16 days 3 hours
program up time   : 23 hours 54 minutes
processors        : 2x Intel(R) Pentium(R) 4 CPU 3.00GHz
physical memory   : 496/991 MB (free/total)
free disk space   : (C:) 4,77 GB (E:) 10,85 GB
display mode      : 1280x1024, 32 bit
process id        : $cd8
allocated memory  : 21,79 MB
executable        : heidisql.exe
exec. date/time   : 2011-11-08 11:04
version           :
compiled with     : Delphi XE
madExcept version : 3.0m beta 1
callstack crc     : $ff35c0a0, $81296317, $81296317
exception number  : 1
exception class   : EOutOfMemory
exception message : Out of memory.
main thread ($918):
004085f1 heidisql.exe System    548   +0 @UStrSetLength
005e2577 heidisql.exe SynEdit  3380  +37 AddHighlightToken
005e2dd2 heidisql.exe SynEdit  3599 +182 PaintLines
005e3160 heidisql.exe SynEdit  3687  +53 TCustomSynEdit.PaintTextLines
005e0694 heidisql.exe SynEdit  2558  +60 TCustomSynEdit.Paint
004f302b heidisql.exe Controls           TCustomControl.PaintWindow
004ed785 heidisql.exe Controls           TWinControl.PaintHandler
004edf64 heidisql.exe Controls           TWinControl.WMPaint
004f2fc5 heidisql.exe Controls           TCustomControl.WMPaint
004e8d08 heidisql.exe Controls           TControl.WndProc
004ed5cc heidisql.exe Controls           TWinControl.WndProc
005e8c10 heidisql.exe SynEdit  6197  +22 TCustomSynEdit.WndProc
004ecc6c heidisql.exe Controls           TWinControl.MainWndProc
004ab524 heidisql.exe Classes            StdWndProc
7c91e470 ntdll.dll                       KiUserCallbackDispatcher
7e398a0b USER32.dll                      DispatchMessageW
00575bb7 heidisql.exe Forms              TApplication.ProcessMessage
00575bfa heidisql.exe Forms              TApplication.HandleMessage
00575f25 heidisql.exe Forms              TApplication.Run
007f58c3 heidisql.exe heidisql   67  +16 initialization

Everything went fine after restarting HeidiSQL and trying again.
ansgar posted 5 years ago
I guess a query tab had some large SQL file loaded?
kalvaro posted 5 years ago
Yes, main tab had a 1 MB file with a SQL dump.
ansgar posted 3 years ago
Probably a 64bit executable helps out with the memory hungry SynEdit.. Yes, I'm thinking I should spend some work on compiling and delivering "HeidiSQL 64bit".

Please login to leave a reply, or register at first.