Marketing Automation, Salesforce Marketing Cloud

Fix email preview: Out Of Memory Exception

Fix email preview: Out Of Memory Exception

Sometimes, it happens that when you try to preview your email in Salesforce Marketing Cloud, you could encounter a system.OutOfMemoryException. But don’t worry; it’s not your laptop’s fault, even if it’s as old as mine.

This error typically means that your template personalization script is overly complicated and needs some attention. You have two options: either split it into smaller segments and move them to separate templates, or load scripts dynamically. This way, the length of the final personalization script won’t consume the computing power of the entire Salesforce Cloud instance(joking). It seems for rendering there is less memory dedicated to this operation.

But what if time is of the essence, and splitting the script requires more time than you have? You’ve been tasked with sending proofs immediately. So, what can you do? It’s simple; just hit the ‘Send’ button during the rendering in progress. This way firstly, you can even avoid that rendering error. Alternatively, you can wait for it to complete with or without an error and then press the ‘Send’ button. The email will be processed on the backend with more memory, resolving the issue.

It is good old workaround, but temporary!

Oh hi there 👋
I have a FREE e-book for you.

Sign up now to get an in-depth analysis of Adobe and Salesforce Marketing Clouds!

We don’t spam! Read our privacy policy for more info.

#AMPScript #email template
Marcel Szimonisz
Marcel Szimonisz
MarTech consultant As a marketing automation consultant, I specialize in problem-solving, process automation, and driving innovation for clients' marketing platforms.

I hold certifications in Adobe Campaign v6 (3x certified) and Salesforce Marketing Cloud (5x certified), as well as 1x Salesforce Associate certified.

Moreover, I serve as a community advisor for Adobe Campaign, providing expert insights and guidance.

Beyond my professional pursuits, I explore various programming languages, CMSs, and frameworks, enhancing my technical expertise and staying at the forefront of industry advancements.
Take a look at our subscription offering in case you are looking for a Marketing Automation Consultant.

Leave a comment

Your email address will not be published. Required fields are marked *

Similar posts that you may find useful

A futuristic digital artwork depicting a technician troubleshooting automated machines. The technician, adorned with a high-tech tool belt and a headset featuring a data-displaying visor, stands at the center of a dimly-lit tech facility. Around them are holographic screens presenting system diagnostics, error messages, and programming code. The background is bustling with a variety of machines and robots, some exhibiting malfunctions with sparks and error signals. The scene is illuminated by cool blues and greys, punctuated with orange and red highlights to emphasize the technical issues. Neon lights and exposed wiring add to the tech-savvy ambiance.
Automation studio, Marketing Automation, Salesforce Marketing Cloud, SFMC Tips & Tricks

Troubleshooting issues in automation studio

2 minutes read

Another series of troubleshooting automations in Salesforce Marketing Cloud. I will regurarly add any new additions that I have already resolved and spend great deal of time and life energy. So hope it will help resolve someones issues. I will try to add, throughout my daily life as an SFMC consultant, all the errors that […]

Continue reading
Salesforce marketing cloud how to run an automation in a loop
Automation studio, Salesforce Marketing Cloud

How to Run an Automation in a Loop

2 minutes read

As many of us are aware, automation in the Salesforce Marketing Cloud can only be scheduled to run at minimum once per hour. While this frequency may suffice for most automations created within the Automation Studio, there are instances where we may require an automation to run continuously, immediately after it completes its previous run. […]

Continue reading
SFMC tips and tricks
Marketing Automation, Salesforce Marketing Cloud, SFMC Tips & Tricks

Validation issues With Data Extension Columns _dat, _call, _from

less than a minute read

Data extension column names with _dat, _call, _from, _join suffix will fail to validate, due to using old style JOIN The fix is really easy you only need to wrap the column name like [test_from] and the problem with validation is history If you know more suffixes that will throw an error let me know

Continue reading
Salesforce Marketing Cloud Tips
Journey builder, Marketing Automation, Salesforce Marketing Cloud, SFMC Tips & Tricks

Refresh Delivery in Transactional Journey

1 minute read

The process might seem straightforward at first glance—simply refreshing the email delivery content in Salesforce Marketing Cloud should suffice to receive the updated email contents. However, there’s more to consider. Salesforce Marketing Cloud utilizes server-side caching, which may display outdated content. Understanding when the cache refreshes isn’t always clear. In scenarios where immediate changes are […]

Continue reading
Spawn workflows programatically
Adobe Campaign, Marketing Automation

Deploy workflow templates with JavaScript

3 minutes read

Adobe Campaign is a powerful tool for creating and managing marketing campaigns. One of its most useful features is the ability to create automated workflows. In this post, we will walk you through the process of “spawning” workflows in Adobe Campaign. What is spawning a workflow? And why and where we can it be useful […]

Continue reading