Memory Exception

Posted by Sunitajadhav under ASP.NET on 1/19/2010 | Views : 1403 | Status : [Member] | Replies : 8
Hello friends,
I am running some application in which I have to calculate permutations for 30 number ( means 30!= 265252859812191058636308480000000 ).But i got error(System.OutOfMemoryException)
What should i do?
Thanks In Advance.......




Responses

Posted by: Sagarp on: 1/19/2010 [Member] Bronze

Up
0
Down
HI

ref

http://msdn.microsoft.com/en-us/magazine/cc163513.aspx


thanks
sagar pardeshi

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sagarp on: 1/19/2010 [Member] Bronze

Up
0
Down
ref

http://www.codeproject.com/KB/recipes/PermutationsCombinations.aspx

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunitajadhav on: 1/19/2010 [Member] Starter

Up
0
Down
Hi,
I have done permutation code.
Its work fine if i give 8 number then it is working but i want more than 30 activites that time it shows System.OutOfMemoryException error
what should i do?

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sagarp on: 1/19/2010 [Member] Bronze

Up
0
Down
which data type u can give

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nishithraj on: 1/19/2010 [Member] Bronze

Up
0
Down
A System.OutOfMemory exception occurs when you compile a solution map that has a complex source schema or a complex destination schema.

Here 30! is a complex schema

Mark this as answer, if it is.....

With regards
Nishithraj Narayanan

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 1/19/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
System.OutOfMemoryException is caused by a lot of things. in my early days of .net , i used to write vb.net apps(win) and i used to get this all the time, most of the time was that i misuse the resources.that time vb.net would not tell you if you have declare a variable or forms and never use them. can we see your code maybe we might point out some few bottlenecks.

Thank you for posting at Dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sagarp on: 1/19/2010 [Member] Bronze

Up
0
Down
HI

plz send me sliver light application of crawling image

thanks
sagar

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 1/20/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
I sent the Silverlight to the Silverlight post.

Thank you for posting at dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response