Learn More





New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Some Avatars Causing Out of Memory ErrorsSome Avatars Causing Out of Memory Errors
New Post
11/30/2014 5:44 PM

So in continuing to clean up the event logs, I am on to my next issue...

Some of my users avatars are causing errors in the event log when users are either viewing their profile or the avatar is displayed within a forum posting (using Active Forums). The error that is showing up in the event log is a Page Exception as below:

PortalName:Myrtle Beach Golf Talk
UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
InnerException:Out of memory.
DotNetNuke.Services.Exceptions.PageLoadException: Out of memory. ---> System.OutOfMemoryException: Out of memory. at System.Drawing.Graphics.FromImage(Image image) at DotNetNuke.Common.Utilities.ImageUtils.CreateImage(Stream stream, Int32 intHeight, Int32 intWidth, String extension) at DotNetNuke.Services.UserProfile.UserProfilePicHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---

The interesting thing is that the avatar that is not working is only 52K while the one that is working is 336K in size.  I've got some links to screenshots of the images:

  • Profile Page - Avatar showing, however Journal Entry avatar is not showing
  • Profile Page - Member Directory Avatar not showing
  • Profile Page - Avatar showing, Journal avatar showing
  • Profile Page - Member Directory Avatar showing
  • Active Forums Posting - Avatar not showing
  • Active Forums Posting Avatar showing (this is on the same page as the one not working)

Hopefully someone has seen something like this...


New Post
11/30/2014 7:23 PM
might this be caused by the type of the image file?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
New Post
11/30/2014 10:15 PM
Unfortunately they are both jpg files (lowercase in both), and both have spaces in the name.

New Post
11/30/2014 10:33 PM
Accepted Answer 
So I downloaded the avatar in question and did an autofix with Adobe Photoshop Express for Win8, re-uploaded the file and voila, it now shows. Something must have been corrupt in the file.

New Post
12/2/2014 2:06 AM
I would be a little suspicious of any jpeg that can cause an out of memory error
- you might want to verify that your hosting has a strong virus checker running.
There have been examples in the past of hackers trying to inject script into
web hosts using jpeg images as the vector - most were php based but would be worth a check.

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Some Avatars Causing Out of Memory ErrorsSome Avatars Causing Out of Memory Errors

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out