Xap Packaging failed System.outofmemoryexception Silverlight 4
-
Thursday, July 05, 2012 5:28 PM
Hi
I'm working in a solution with a xap package of about 17 MB I know that is kind of big, but recently when I build the solution the visual studio send me an error of the kind Xap Packaging failed System.outofmemoryexception.
I found in some forums that if I close the visual studio the problem is solved but this doesn't work for me, the error persist.
Can somebody help me with this please? Is there a way in order to stop this kind of error?
I have Win XP 32 bits platform with 3GB RAM
Greetings Jericco
I forget to tell you, I'm using Visual Studio 2010- Edited by fenixaj Friday, July 06, 2012 4:44 PM
All Replies
-
Friday, July 06, 2012 5:22 AMModerator
Hi Jericco,
I searched the defination of outofmemoryexception:The exception that is thrown when there is not enough memory to continue the execution of a program.
Maybe the huge process like you’re using caused your application to run out of memory.
Did you monitor the memory of your computer when you build your it?
Best regards,
Ego [MSFT]
MSDN Community Support | Feedback to us
-
Friday, July 06, 2012 5:26 AM
Here is a reason casue outofmemoryexception http://support.microsoft.com/?kbid=981428
-
Friday, July 06, 2012 4:42 PM
Hi Ego
Yeah I've been monitoring my memory usage and does not exceed from 1.20 GB and I have 3GB
If you need to know anything else just let me know and thanks for your help
Greetings Jericco
-
Monday, July 09, 2012 8:20 AMModerator
Hi Jericco,
Are there several projects in your solution?
If you build one project once, will this exception occur?
Best regards,
Ego [MSFT]
MSDN Community Support | Feedback to us
-
Tuesday, July 10, 2012 4:47 PM
Hi Ego
Yes I have 4 projects in my solution, two report projects, one web project and the silverlight project this occurs only when I try to compile the silverlight project
Thanks for your help :)
Greetings Jericco
-
Thursday, July 12, 2012 8:25 AMModerator
Hi Jericco,
Maybe there is an infinite loop in your code causes the exception.
Can you debug your codes to find out it?
Best regards,
Ego [MSFT]
MSDN Community Support | Feedback to us
-
Thursday, July 12, 2012 11:36 PM
Hi Ego,
I checked up for an infinite loop but I don't have it.
Thanks for your help
Greetings Jericco

