Re: Memory leak?
- Posted by gwalters Feb 12, 2014
- 3587 views
The program is looking at a 2 degree square window of stars (Tycho satellite data) looking for colinear triplets. There are 112 stars in the window and it recursively creates a cursor of 111 stars 112 times searching for star triplets. The window cannot be larger because the program will give out of memory eventually.
So you're looking for star triplets by creating cursors, right? Could there be a better way to this analysis? I'm interested in what you're trying to achieve but I have no idea what it is..
Spock
There may be a better way to do this but I don't know of one. The data base has 2.5 million stars (took 4hrs to build) to search through. I'm not sure how to better explain what Im trying to do. I'm looking for star triplets that are in a straight line and are not off the straight line more then 1 arc sec. Now that you question the approach perhaps I should retreive the window of stars one time, put them in a table and search the table. Might be a better approach. Certainly avoid my memory problem. Send me your email address and I'll email you a paper I'm writing. gwalters at sc dot rr dot com.