Memory error - KeplerTargetPixelFile iteration
See original GitHub issueProblem description
When iterate over KeplerTargetPixelFile object clogging of memory occure.
Example
from lightkurve import KeplerTargetPixelFile
tpf = KeplerTargetPixelFile(filename)
for i, frame in enumerate(tpf):
pass
Behavior
Over 1,000 megabytes ram for i = 250. This same behavior for jupyter, ipython, python sheel.
Environment:
- platform Linux
- lightkurve version: 1.0b21
- installation method: conda
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (4 by maintainers)
Top Results From Across the Web
lightkurve.KeplerTargetPixelFile
This class offers a user-friendly way to open a Kepler Target Pixel File (TPF), access its meta data, visualize its contents, extract light...
Read more >FlareLightCurve — AltaiPony 2.0.0 documentation
Flux in the target pixels from the KeplerTargetPixelFile. pixel_flux_err : multi-dimensional ... Iterative median, see the find_iterative_median method.
Read more >Out of memory error at train network · Issue #662 - GitHub
Hi, I'm getting an out of memory error when I try to train the network, using either my data or the example data...
Read more >Tensorflow memory leak in every iteration - Stack Overflow
I'm trying to find out why the code below occurs a huge memory leak during iteration by iteration. Here's the whole code.
Read more >Not Enough Memory Error? - Ansys Learning Forum
An error has occurred in the Distributed Sparse Matrix Solver while ... The Direct Solver needs more memory than the Iterative Solver.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Haven’t been around lightkurve much lately because of commitments to cryptography projects. But, memory leaks are critical issues. When I have time, I’ll look at the tests some more.
@dhomeier @texadactyl Thank you both! This is very helpful! 👍👍👍