Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to I make my program release memory?
Post: RE: How to I make my program release memory?

Dumb mistake of mine, thank you :) I followed the instructions you gave and I do indeed now have much larger swap memory, I do get some error messages though, it says "X11 connection rejected because...
Plecto General Coding Help 11 10,721 Dec-18-2016, 08:52 PM
    Thread: How to I make my program release memory?
Post: RE: How to I make my program release memory?

Why is this happening though? Why does it insist of storing these variables in memory despite crashing the program doing so? Quote:pi@raspberrypi:~ $ sudo dd if=/dev/zero of=/path/swap.img bs=204...
Plecto General Coding Help 11 10,721 Dec-18-2016, 06:39 PM
    Thread: How to I make my program release memory?
Post: RE: How to I make my program release memory?

If this is not a memory issue, then it's something else. When swap memory reaches 0, the program freezes indefinitely. I'm working on an amplifier analyzer, but my whole project has come to a stop bec...
Plecto General Coding Help 11 10,721 Dec-18-2016, 02:06 PM
    Thread: How to I make my program release memory?
Post: RE: How to I make my program release memory?

I read the article you linked, but couldn't quite understand all of it. You said that memory will be released as soon as it goes out of scope or a different program will need it, but that clearly does...
Plecto General Coding Help 11 10,721 Dec-18-2016, 12:50 PM
    Thread: How to I make my program release memory?
Post: How to I make my program release memory?

Sample code is as follows: import numpy as np import time import sounddevice as sd def FindFreq_Resp(f_num, Amp):    print "Calculating frequency response..."    Freq=np.logspace(1.3, 4.3, num=f_...
Plecto General Coding Help 11 10,721 Dec-18-2016, 08:15 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020