PDA

View Full Version : S3PE Error Message


Ashleigh825
31st May 2010, 06:43 PM
I've recently started compressing all my .package files using S3PE, but am coming across this error message every time I import the files I wish to compress.

************** Exception Text **************
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.ToArray()
at s3pi.Interfaces.AResource.get_AsBytes()
at S3PIDemoFE.MainForm.importPackagesCommon(String[] packageList, Boolean compress, DuplicateHandling dups, List`1 dupsList)
at S3PIDemoFE.MainForm.resourceImportAsDBC()
at S3PIDemoFE.MainForm.menuBarWidget1_MBResource_Click(Object sender, MBClickEventArgs mn)
at S3PIDemoFE.MenuBarWidget.OnMBResource_Click(Object sender, MB mn)
at S3PIDemoFE.MenuBarWidget.tsMBR_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I'm okay with computers in general, but coding is certainly beyond my understanding. I don't know why I would be out of memory when I had pretty much all background programs shut off and my computer has 2 gigs of RAM. Perhaps I am trying to compress too many files into one .package file?

I have run the files through Delphy's Dashboard Tool and gotten rid of all problematic files before I attempted to compress them, if that matters any.

pljones
31st May 2010, 06:51 PM
Perhaps I am trying to compress too many files into one .package file?Perhaps you are. Have you tried doing fewer?

Inge Jones
31st May 2010, 07:01 PM
Are you using that technique described at MATY to put all your packages into one file? If so you need to ask for support in that thread. It is an experimental feature only added for the benefit of that research and is not necessarily recommended by the makers of s3pe ;)

pljones
31st May 2010, 08:05 PM
resourceImportAsDBC()Looks like it.

Ashleigh825
1st Jun 2010, 03:56 PM
Yes, I am using MATY's experimental method, Inge Jones, though I was under the impression that it was a problem with S3PE, not necessarily the process of compressing .package files itself.

I will try compressing fewer files and see if that helps. The more I think about it, the more that seems to be the problem, since when I play the game with these compressed files, some items show up and others do not. Hopefully that does solve the issue, since I'd rather avoid asking for help at MATY if I can help it. I for one don't appreciate being treated like a particularly slow chimpanzee when I receive "help" from them.

Inge Jones
1st Jun 2010, 04:07 PM
I am sorry you don't enjoy posting at MATY, but they pretty much "own" this feature and so we look to Anach for guidance on whether anything needs changing. If no reports received from the process specifier we leave it alone.