System.OutOfMemoryException while listing 1000 users


hi guys/boys n girls if ...

have program (web app)...

in listing 1000 users, while listing users... getting following error

exception: system.outofmemoryexception
message: exception of type 'system.outofmemoryexception' thrown.
source: mscorlib
   @ system.string.createstringfromencoding(byte* bytes, int32 bytelength, encoding encoding)
   @ system.text.utf8encoding.getstring(byte[] bytes, int32 index, int32 count)
   @ xxx.xxx.xxx.xxx.serialize(object o)

1. machine 2gb of ram. running program.(no other process taking these space !)
2. restarted machine, cleaned cache(everything possible)
3. can list 50 users error 500 ( program can list 5,10, 50, 500 users .. can't change this.)
4. if select 500 users in code, increase page size(grid size & displays it.)

can possible reason ???

waiting ....

the issue obvious: you're out of memory.  can't shed light on until more information.  think still need provide more detail.  maybe example of information you're retrieving, code snippet, etc..
if thinking alike, isn't thinking.


.NET Framework  >  Common Language Runtime Internals and Architecture



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'