-
Notifications
You must be signed in to change notification settings - Fork 171
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
GetEDSMDistances 'System.OutOfMemoryException' #65
Comments
Short term solution is to uncheck Get Distances in the setings tab. The problem is that the json parser uses ALLOT of memory then it parses We could solve this by running as 64 bit or better but more work to parse 2016-01-11 6:19 GMT+01:00 Aethir notifications@github.com:
|
Yep even our API starts to take a lot of memory, I optimise a little for the new server on the systems call but the distances is more problematic, and even with those optimisations, the problem will come back once they are more distances. What I could suggest is that we block the distances API as a whole and only accept queries when a system is set. Actually the distances API, does not have any kind of selection by system name, I think that worked when we had 50K distances, but now it works less well ^^ We will soon provide nightly dump too, the process is running, I just have to write them. |
Awesome... that stopped the error. it says it's loading everything successfully and then... that's it. I took a look at my netlogs and they're a near-continuous stream of what look like network routing info but nothing I could see that remotely pertains to system information... I zipped both my AppConfig.xml and my latest netlog file and have posted here; if it's not too much to ask, could someone have a look at them and help me figure out what's going on? All help greatly appreciated, I think this is a fantastic program and I really want it to work! |
Solved with 324a41a 64 bit compile |
I so desperately want this to work...
Have had a few dramas with getting EDDisco to play nice. I enabled VerboseLogging in the game config, and since then I'm getting the abovementioned error. In full, this is what EDDisco shows me:
EliteDangerous is not running .
Checking for new EDDiscovery data
Checking for new EDDiscovery maps
C:\Users\Krang\AppData\Local\EDDiscovery\tgcsystems.json is up to date.
1576 new systems from EDSM.
Reading travelhistory Downloading mirrored EDSM distance data. (Might take some time)
Get systems from EDDB.
Loading completed!
OK.
Get stations from EDDB. OK.
Add new EDDB data to database.
EDDB update done.
Adding mirrored EDSM distance data.
GetEDSMDistances exception:Exception of type 'System.OutOfMemoryException' was thrown.
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)
at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader)
at Newtonsoft.Json.Linq.JArray.Parse(String json)
at EDDiscovery.DB.DistanceClass.ParseEDSM(String json, String& date)
at EDDiscovery.EDDiscoveryForm.GetEDSMDistances()
I'm using Win 7 Pro on a system with 16Gb RAM, of which 78% is currently free...
I'd really like to get this program up and running before I head anywhere outside the Bubble... so any assistance would be awesome :)
Thanks in advance
The text was updated successfully, but these errors were encountered: