bugGNU Octave - Bugs: bug #44089, octave uses complete RAM on print...


bug #44089: octave uses complete RAM on print command

Submitter:  None
Submitted:  Sun 25 Jan 2015 05:20:17 PM UTC
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  guerisso Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.2
Operating System:  * GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Mon 02 Feb 2015 05:34:32 AM UTC, comment #4: 

I also find that this is fixed in the development branch which is about to become the 4.0. release.  I am marking the bug as fixed.  It can be re-opened if the original reporter can reproduce the problem after the 4.0. release.

Rik <rik5>
Project Administrator
Wed 28 Jan 2015 09:42:00 AM UTC, comment #3: 

@Philip Thanks for the link, I tried several of the font options,

-FHelvetica in print command

but they didn't work, the second actually made it worse. I tried different fonts, but that didn't work either.

@Mike I don't know how to test from development tree... but I tried graphics_toolkit("gnuplot") and it works, thanks!

Wed 28 Jan 2015 04:15:17 AM UTC, comment #2: 

Thanks for your bug report. This looks to me to be limited to the FLTK toolkit, and also looks to be fixed in the current development version of Octave.

Specifically, your example gives me the behavior you describe using 3.8.2 and on the gui-release branch, but not on the current default branch. If you are able to test Octave from the development tree, can you confirm that the problem you are seeing is fixed? Can you also confirm that switching to graphics_toolkit("gnuplot") fixes it even in 3.8.2?

Mike Miller <mtmiller>
Project Administrator
Sun 25 Jan 2015 06:05:16 PM UTC, comment #1: 
Philip Nienhuis <philipnienhuis>
Project Member
Sun 25 Jan 2015 05:20:17 PM UTC, original submission:  

I have a severe problem when I try to run the following script:

close all

Mfun= @(b,B) (exp(b).*sinh(b.*B))...

bvec   = 0:0.02:2;
BVEC   = 0:0.1:10;
M_L = zeros(length(bvec),length(BVEC));
for i=1:length(bvec)
  for j=1:length(BVEC)
    M_L(i,j) = Mfun(bvec(i),BVEC(j));



Everything goes fine until the print command. When I watch my ressource usage with "top", the octave %MEM usage goes up until about 68% (almost 3 GB) and then my PC is dead. Only thing I can do is to press the Power button to shut it off.

If I react quickly enough on the command line, I can cancel octave with Ctrl-C Ctrl-C Ctrl-C. If I use "saveas" from the menu instead of print(...), I cannot cancel octave. In any way, I don't get my plot as an eps file.

I don't want octave to be able to somehow use up all of my memory.

I use openSUSE 13.1, octave 3.8.2



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-02 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2015-01-28 mtmiller CategoryOctave Function Plotting with OpenGL
        StatusNone Need Info

    Back to the top

    Powered by Savane 3.9