Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd February 2008, 01:28 PM
samwedge Offline
Registered User
 
Join Date: Nov 2007
Posts: 10
Octave eating Disk Space

Hello!

This message is really for Octave users, but if anyone knows where temp folders are stored (other than /tmp), or if there's a log of where files are written to disk then please let me know!

I have two Octave scripts. One performs a simple monte carlo integration with N random numbers, and the other repeatedly sends in different values of N into the first script and plots a graph (value of integral vs N) to show that precision is improved for larger N values.

I first set up my scripts to plot around 10000 different points which took such a long time I decided to kill the process and start again with fewer points. The second time I did it (with fewer points) it stalled halfway leaving me with no option but to kill Octave this time as well. It turned out that it stalled because of a lack of diskspace. Octave had been taking up disk space which it normally gave back to me when I quit, but since the Octave process was killed on both occasions it didn't. I now have 1.5Gb missing somewhere on my hard drive.

Shouldn't Octave delete any temp files when it is restarted?

I've looked for my 1.5Gb in /tmp, every directory and sub-directory with 'octave' in the name and in my home folder with no luck. I have also tried the usual reboot of my computer and restarting Octave, as well as uninstalling octave.

Anyone know where the diskspace is being eaten up?

I really appreciate your time reading this.

Thanks in advance.

Sam

Useful information:

Octave version 2.9.9 (i686-redhat-linux-gnu)
OS: Fedora 7

Here are my scripts:

vectorMC.m
function MCint = vectorMC(N)
x=rand(1,N+1);
y=e.^x;
yMC=(e^1)*rand(1,N+1);
check=(yMC<=y);
Ninside=sum(check);
MCint=(e^1)*Ninside/N;
end


p1mccon.m
for i=100:10:5000;
x=i;
y=vectorMC(i);
plot(x,y,'o')
hold on
end
grid on
plot([0 5000],[(e^1-1) (e^1-1)])
xlabel('The total number of random points')
ylabel('Value of integral')
Reply With Quote
  #2  
Old 3rd February 2008, 12:17 PM
samwedge Offline
Registered User
 
Join Date: Nov 2007
Posts: 10
Found them. There were in /tmp after all. I thought there was only ~10Mb in there but it turns out the octave files were in there too with the prefix 'oct-'
Tried deleting them with 'rm oct-*' but that returned the error 'bash: /bin/rm: Argument list too long'. There were simply too many files to handle!
Had to remove them in batches instead.

Turns out there was more than 2.2Gb in there!
Reply With Quote
Reply

Tags
disk, eating, octave, space

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
beagle eating disk space snoze Using Fedora 4 25th June 2007 06:51 AM
Hard disk -- Free space not equal to available space ?? michaeleekk Hardware & Laptops 2 30th August 2006 02:20 PM
fc5 eating my hard drive space, help please D: MagicGate EOL (End Of Life) Versions 10 24th June 2006 03:20 AM
why is yum always eating my disk space duni Using Fedora 8 17th April 2006 03:03 AM


Current GMT-time: 00:21 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat