Skip to main content
New Participant
April 6, 2009
Question

CF 8 generates blank white screen

  • April 6, 2009
  • 1 reply
  • 1974 views

Recently we upgraded from MX to CF 8, and code that worked on MX now generates a blank white screen on CF 8.  The code is memory intensive and pulls large resultsets from the db and loops over them to send elerts to approx. 40k clients.  By adding exittemplate calls I can short-circuit the code and so I can see that certain loops are causing the problem, but I am not sure what the solution is or why I only get a white screen and no errors on screen or in the log.  I can see jrun memory usage is spiking when the task runs but I do not get out of memory errors and the other sites are still responsive.  I have tried tweaking the jvm memory settings but have been unable to resolve the issue or make any headway.  (eg,changing heap size from 512mb to 768 mb to 1024 mb, adding explicit calls to garbage collect in the code, etc.).

Can anyone clarify under what circumstances CF will generate a blank white page with no source code, and what solutions may exist for performing memory intensive operations.

Thanks,

Theo

    This topic has been closed for replies.

    1 reply

    New Participant
    April 6, 2009

    I have the same problem. My file contains ajax-driven code and it gives me a white screen before it loads everything. Help!

    Charlie Arehart
    Community Expert
    April 6, 2009

    Folks, are you sure that your that the page is completely blank (you do a view source in the browser and there's nothing there)? It can happen, but it can also be that the page has incomplete content that the browser doesn't show. Just checking.

    If the page fails before CF/JRun can dump any of the buffered output to the browser, you could be left with nothing. Of course, CF should get an error and the user should see that. Along those lines, are you also sure that there's no problem with any error handling (page-level with CFCATCH, application-level with CFERROR or onError, or server-level via the Admin site-wide handler)? Again, I realize that may not be it, but just worth checking.

    Finally, have you looked not just in the CF application.log but also in the -out.log, which would be in the [cf]\runtime\logs (or [jrun]\logs, if running multiserver)? They may offer more clues for you.

    /Charlie (troubleshooter, carehart. org)
    mlxtheoAuthor
    New Participant
    April 8, 2009

    Yes, when I check the source code the page is completely blank.  Checking the -out log in the runtime/logs dir confirms that I am getting java out of memory errors.  Is there any reason to think that trying a different JRE would be productive?  I am currently using the default java6 JRE that ships with CF 8.