Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyspice-memory probelm #373

Open
KrizLuk0 opened this issue May 13, 2024 · 0 comments
Open

Pyspice-memory probelm #373

KrizLuk0 opened this issue May 13, 2024 · 0 comments

Comments

@KrizLuk0
Copy link

Environment (OS, Python version, PySpice version, simulator)

Use ngspice 42, Python 3.10,

Expected Behaviour

I need the memory not to increase, or at least minimally.

Actual Behaviour

Hi, I have a problem that when using PySpice simulations, MiB keeps getting added to the RAM. Specifically, it always happens with the command analysis: analysis = simulator.transient(**SimParams). Specifically, it is about 13 MiB, which makes it impossible to run this program, as there are so many simulations that even 16 GB of RAM is not enough. I am using the commands destroy, reset, gc.collect, but I don’t know what else to do. Thank you for any advice.

Here is my code:
https://github.com/KrizLuk0/Pyspice-memory/blob/main/Pyspice.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant