octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #29545] empiricalcdf eats up too much memory +


From: Guido Walter Pettinari
Subject: [Octave-bug-tracker] [bug #29545] empiricalcdf eats up too much memory + alternative solution
Date: Tue, 13 Apr 2010 15:29:08 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

URL:
  <http://savannah.gnu.org/bugs/?29545>

                 Summary: empiricalcdf eats up too much memory + alternative
solution
                 Project: GNU Octave
            Submitted by: coccoinomane
            Submitted on: Tue 13 Apr 2010 03:29:07 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.3
        Operating System: Mac OS

    _______________________________________________________

Details:

If I issue these commands:

N = 10000;
g = normrnd(0, 1, N, 1);
emp = empirical_cdf(g, g);

all my system's memory (4GB) is taken by Octave and everything in slowed
down.

This happens in general every time N is bigger than several thousands.

I wrote an alternative 'empirical_cdf' m-file which works fine and is
ultra-fast compared to Octave's. I attached it to this bug report.

Cheers,

Guido



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 13 Apr 2010 03:29:07 PM GMT  Name: empirical_cdf2.m  Size: 555B  
By: coccoinomane
Alternative, faster and memory efficient empirical_cdf function
<http://savannah.gnu.org/bugs/download.php?file_id=20212>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29545>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]