Mount Power
 
Picture

Pokrewne:

Cytat:

Export to HTML fails: unable to realloc 1149975042 bytes





pcam - Pi± Lis 16, 2007 2:01 pm
" />While playing, I tried to export to HTML the content of a DB (75MB size).
I then had a dialog window that read:
Fatal Error in Wish
Unable to realloc 1149975042 bytes]

here is my schema:

CREATE TABLE SERVERLOGS
(
date NUMERIC,
event_seq_num NUMERIC ,
evt_actor TEXT DEFAULT '""',
evt_change_name TEXT ,
evt_change_newval TEXT ,
evt_code NUMERIC ,
evt_source TEXT ,
evt_type NUMERIC ,
evt_unit_num NUMERIC ,
id INTEGER PRIMARY KEY ,
log_frag_num NUMERIC ,
sys_name TEXT ,
time TEXT
)

There is 888692 records.
Text entries are all shorter than 100 chars.




Googie - Pi± Lis 16, 2007 6:26 pm
" />Is it repeatable?

Bad news is that it's Tcl bag :/ I'll update Tcl base executable in next release, but I'm not sure if it would help.



pcam - Pon Lis 19, 2007 8:34 am
" />Repeatable on demand, at least with this DB.

BTW I'm curious to know how did you wrap SQLite and other extensions?
I guess Freewrap is involved. Would you mind sharing how you have done this ?

Pcam



Googie - Pon Lis 19, 2007 7:33 pm
" />Not freewrap, I use starkit mechanism. See: http://wiki.tcl.tk/starkit

Regarding the bug: I'll try to reproduce it very soon and then fix it.

P.S. You can use SDX tool (you can get it from www.equi4.com) to unwrap sqlitestudio binary and see how is it build before being wrapped.
SDX is startkit iself, so you need tclkit to use it. You can find all needed info at wiki page I mentioned at top.




Googie - Wto Gru 04, 2007 9:36 pm
" />Bug related to large data exporting.
Fixed.
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • przeloty.htw.pl