Do you mean that you see this error when you are within the Prepare recipe view (before you click Run)? If so, it is because you have hit the memory limit for displaying the sample and you have a few options...
1. You can try to increase the size limit for processed samples, either in the Sample Settings pane on the left of the script OR in the Administration > Settings > Resource Control > Explore / Prepare sample limit.
2. Run the recipe (even though the View in the Prepare Recipe Script does not populate).
If you continue to experience problems please open a support ticket with the logs of your problem so that our team can assist you,