Hello, again.
I got further by disabled all debug code in the program. I have PM SciLor with the full debug log, i will not paste it here as it would slow down the page load time. The issue is the data is loading into ram and 32bit limitations. Maybe the solution would be getting the script to do the process in parts. Also, i have got the debug save state in a virtual machine. Then a fix can be tested without having to wait a long time, etc if SciLor wants to.
For everyone here some info on the error code.
System.InvalidOperationException was unhandled by user code
Message=There was an error generating the XML document.
Source=System.Xml
StackTrace:
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o)
at SciLors_GrooveDownloader.MainWindow.ExportAllDownloadResults() in C:\Users\admin\Desktop\SciLorsGrooveshark.comDownloaderV0.4.6b.src\MainWindow.xaml.vb:line 344
at SciLors_GrooveDownloader.MainWindow.btnAddToDownloadList_Click(Object sender, EventArgs e) in C:\Users\admin\Desktop\SciLorsGrooveshark.comDownloaderV0.4.6b.src\MainWindow.xaml.vb:line 337
at SciLors_GrooveDownloader.MainWindow.BatchAddToDownload() in C:\Users\admin\Desktop\SciLorsGrooveshark.comDownloaderV0.4.6b.src\MainWindow.xaml.vb:line 619
InnerException: System.OutOfMemoryException
Message=Exception of type 'System.OutOfMemoryException' was thrown.
Source=j0n2vtyv
StackTrace:
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write2_SearchArtistResult(String n, String ns, SearchArtistResult o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write3_ResultGrid(String n, String ns, ResultGrid o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write4_ArrayOfResultGrid(Object o)
InnerException:
Hope this can be fixed soon, as this will fix the issue of running this script on pc with little ram or running big batch searches.