After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 66020 - Saving uses a lot of memory
Saving uses a lot of memory
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Main System
unspecified
Other other
: Normal enhancement
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2001-12-03 06:38 UTC by gontran
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gontran 2001-12-03 06:37:56 UTC
Package: Gnumeric
Severity: normal
Version: 0.71
Synopsis: Saving 8 meg CSV text file import bombs
Bugzilla-Product: Gnumeric
Bugzilla-Component: Main System

Description:
Import  file through text file import wizard, all that goes fine.  :-)  Saving this
file is another matter.  The process gets large, and then dies.  

Hware setup, 512 mb ram.  1G swap ....

Thanks so much for all of your hard work.  Gnumeric Rocks.


Very Best Regards,
Gontran@gontran.net


Debugging Information:

0x40833a69 in __wait4 () from /lib/libc.so.6
  • #0 __wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 gnome_segv_handle
    at gnome-init.c line 659
  • #3 __restore
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c line 125
  • #4 xml_node_set_cstr
    at xml-io.c line 219
  • #5 xml_node_set_int
    at xml-io.c line 243
  • #6 xml_write_cell_and_position
    at xml-io.c line 1504
  • #7 xml_write_cell
    at xml-io.c line 1572
  • #8 xml_write_cell_to
    at xml-io.c line 1876
  • #9 xml_sheet_write
    at xml-io.c line 2241
  • #10 xml_workbook_write
    at xml-io.c line 2794
  • #11 gnumeric_xml_write_workbook
    at xml-io.c line 3258
  • #12 gnum_file_saver_save_real
    at file.c line 248
  • #13 gnum_file_saver_save
    at file.c line 500
  • #14 wb_view_save_as
    at workbook-view.c line 599
  • #15 do_save_as
    at gui-file.c line 229
  • #16 gui_file_save_as
    at gui-file.c line 287
  • #17 cb_file_save_as
    at workbook-control-gui.c line 1344
  • #18 impl_Bonobo_UIComponent_execVerb
    at bonobo-ui-component.c line 129
  • #19 Bonobo_UIComponent_execVerb
    at Bonobo-stubs.c line 7746
  • #20 real_exec_verb
    at bonobo-ui-engine.c line 1364
  • #21 impl_emit_verb_on
    at bonobo-ui-engine.c line 1412
  • #22 gtk_marshal_NONE__POINTER
    at gtkmarshal.c line 193
  • #23 gtk_signal_real_emit
    at gtksignal.c line 1492
  • #24 gtk_signal_emit
    at gtksignal.c line 552
  • #25 bonobo_ui_engine_emit_verb_on_w
    at bonobo-ui-engine.c line 2762
  • #26 exec_verb_cb
    at bonobo-ui-sync-menu.c line 519
  • #27 gtk_marshal_NONE__NONE
    at gtkmarshal.c line 312
  • #28 gtk_handlers_run
    at gtksignal.c line 1917
  • #29 gtk_signal_real_emit
    at gtksignal.c line 1477
  • #30 gtk_signal_emit
    at gtksignal.c line 552
  • #31 gtk_widget_activate
    at gtkwidget.c line 2890
  • #32 gtk_menu_shell_activate_item
    at gtkmenushell.c line 859
  • #33 gtk_menu_shell_button_release
    at gtkmenushell.c line 486
  • #34 gtk_marshal_BOOL__POINTER
    at gtkmarshal.c line 28
  • #35 gtk_signal_real_emit
    at gtksignal.c line 1492
  • #36 gtk_signal_emit
    at gtksignal.c line 552
  • #37 gtk_widget_event
    at gtkwidget.c line 2864
  • #38 gtk_propagate_event
    at gtkmain.c line 1378
  • #39 gtk_main_do_event
    at gtkmain.c line 818
  • #40 gdk_event_dispatch
    at gdkevents.c line 2139
  • #41 g_main_dispatch
    at gmain.c line 656
  • #42 g_main_iterate
    at gmain.c line 877
  • #43 g_main_run
    at gmain.c line 935
  • #44 gtk_main
    at gtkmain.c line 524
  • #45 main
    at main.c line 281
  • #0 __wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 gnome_segv_handle
    at gnome-init.c line 659
  • #3 __restore
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c line 125
  • #4 xml_node_set_cstr
    at xml-io.c line 219
  • #5 xml_node_set_int
    at xml-io.c line 243
  • #6 xml_write_cell_and_position
    at xml-io.c line 1504
  • #7 xml_write_cell
    at xml-io.c line 1572




------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-12-03 01:37 -------

The original reporter (gontran@potre.gontran.net) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, jody@gnome.org.

Comment 1 Morten Welinder 2001-12-03 13:58:30 UTC
You're just out of memory, :-)

We build the entire xml tree in memory -- a total waste of resources
that we will fix at some point.
Comment 2 Jody Goldberg 2003-10-17 06:02:58 UTC
We've got a sax based exporter now that uses alot less memory.
It is currently marked experimental, but will transition into being the main
exporter for 1.3.x