Hi Guys,
Yet another set of problems (sorry) . . .
After working with another portfolio file, I did a File-->"Restore from backup" to reload my previous portfolio file. I had created a backup, including price history, before working in the new portfolio file.
When the restore was complete, many tickers no longer displayed intra-day data in the charts.
So, I went into Options-->Preferences-->Historical Data and clicked the "Import history data files into database" button. I have just under 1200 files in both, the end-of-day and intra-day folders.
After about 20 minutes of no progress indication from PSM, with only intermittent disk activity, and the inability to select/display the PSM window by clicking on it's taskbar icon . . . I opened the Windows Task Manager to find out if PSM was running or not. It was shown as "Not Responding", but when I looked at the disk I/O numbers, they were increasing, so I figured it was in fact running.
When I looked at the Working Set Memory value, it too was INCREASING continually, until it reached over "1,500,000 K".
When the import finally finished (30+ minutes total running time), I did a File-->Backup to create a new backup file of this portfolio.
When the backup finished, I attempted to do a File-->Save. However, after a couple of minutes, an error box popped up with the message "Out of memory".
Going back into Task Manager, the Working Set Memory value was now "1,767,964 K" (1.7 GB), the Commit Size was "1,733,936 K", and the Paged Pool was "510 K".
My system has 12 GB of RAM and just under 8 GB of physical memory was available at the time this error was displayed. So I don't know why PSM thought it was "Out of memory", unless it has the Windows 2 GB memory limit?
At this point, I didn't know if the new backup file was any good or not, OR if the File-->Save function had actually saved the portfolio file or not. But my only option was to Exit the program.
After exiting and re-running PSM, the current Working Set Memory value was only "123,012 K", which is but a tiny fraction of the earlier "1,767,964 K" value. It appears that the portfolio file IS intact and the missing intra-day IS restored.
My psm.exe file is currently set to Windows XP SP3 compatibility mode, on a Win 7 Pro SP1 system.
So . . .
1) Why is PSM dropping intra-day data when switching between different portfolio files via the File-->"Restore from backup" function?
2) It would appear that the "Import history data files into database" function has a bad memory leak, which is not being taken care of when the function completes (via garbage collection).
3) Why does PSM take so long to import the history data on a super-fast (CPU and disk) system?
4) Why is there no progress display for this function?
5) Why did PSM think it was "Out of memory" while performing a Save function even when my system still had nearly 8 GB of Physical RAM remaining? The Windows 2 GB memory limit?
I sure hope you guys are able to find some of the problems I've been reporting lately, by using the portfolio file backup I sent you a link for. This is getting very old, and you guys are probably just as tired of reading all the problems I've been reporting, as I am of writing them all.
Thank you,
-Don