[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53943] memory usage explodes on a javaMethod
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #53943] memory usage explodes on a javaMethod call |
Date: |
Sat, 19 May 2018 10:07:32 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?53943>
Summary: memory usage explodes on a javaMethod call
Project: GNU Octave
Submitted by: arb
Submitted on: Sat 19 May 2018 02:07:30 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Performance
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
with this script, that basically has one line invoking a javaMethod,
ver = version
hg_id = __octave_config_info__.hg_id
m_before = memory
dynamic_path = javaMethod ("getClassPath", "org.octave.ClassHelper")
m_after = memory
The memory.m file can be found here:
https://github.com/octave-de/macgyver_utils/blob/master/memory.m
The script outputs:
ver = 5.0.0
hg_id = 75fef3484d12+
m_before =
scalar structure containing the fields:
total = 660.15
rss = 63.684
shared = 28.328
data = 194.57
physical = 145319.24609
dynamic_path =
m_after =
scalar structure containing the fields:
total = 34653.17969
rss = 91.375
shared = 35.656
data = 34165.11328
physical = 145319.24609
Memory foot print jumps to 35 Gb. The jump is not limited to dev.
I noticed this phenomenon during an xlsopen from the io package, and narrowed
it down to this line.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53943>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53943] memory usage explodes on a javaMethod call,
A.R. Burgers <=