[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55052] Memory consumption of figure command g
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #55052] Memory consumption of figure command going up significantly from 4.2 to 4.4 |
Date: |
Sun, 30 Dec 2018 18:54:50 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 |
Follow-up Comment #5, bug #55052 (project octave):
With Octave-6.0.0, M usage on Linux for just an empty figure handle amounts
to ~6 MB. Less than on Windows, but still IMO outrageously much.
(checked using the command in a bash shell:
ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f
Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }' |cut
-d "" -f2 | cut -d "-" -f1 | grep octave
after each "figure" command in Octave, see below)
## Before "figure" command:
address@hidden ~]$ ps -eo size,pid,user,command --sort -size | awk '{
hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) {
printf("%s ",$x) } print "" }' |cut -d "" -f2 | cut -d "-" -f1 | grep octave
161.83 Mb /usr/local/libexec/octave/6.0.0/exec/x86_64
0.57 Mb octave
## After opening 3 figure handles:
address@hidden ~]$ ps -eo size,pid,user,command --sort -size | awk '{
hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) {
printf("%s ",$x) } print "" }' |cut -d "" -f2 | cut -d "-" -f1 | grep octave
180.06 Mb /usr/local/libexec/octave/6.0.0/exec/x86_64
0.57 Mb octave
address@hidden ~]$
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55052>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/