Anything I can do about this?
Running "skuid-pull:dev" (skuid-pull) taskFatal error: System.LimitException: JSON string exceeds heap size limit<br>(System Code)
Anything I can do about this?
Running "skuid-pull:dev" (skuid-pull) taskFatal error: System.LimitException: JSON string exceeds heap size limit<br>(System Code)
This is what skuid-pull looks like:
'skuid-pull':{ 'options': orgOptions,<br /> 'dev':{<br /> options: {<br /> 'username': '***',<br /> 'password': '****',<br /> 'dest': 'skuidpages/',<br /> 'module': ['Optimize','Optimize2','Cleanup','Rochester','Dublin','Warren','Lakeland','Casper','User','Role','PrayerNet','Tensions','NoTensions','PSPT','Advocate','Treatment','NoTreatment','Presumptive','MDDiagnosis','MotherCare','Reviews','Stock','Stock-Role','Stock-User']<br /> }<br /> } <br /> }
Apparently I can only pull half of my modules in a single transaction. Further evidence for this: https://community.skuid.com/t/skuid-grunt-pull-from-all-modules
Unfortunately there isn’t a solution for this at the moment. We plan on coming up with a way to avoid this in the future. One thing you might do is dynamically generate your targets (see the examples file in the skuid-grunt repo). You could loop over each module in the array to register a target for each module. Then you could register a task that would call each one in sequence.
var modules = 'module'...'module']; var config = {}; for(index in modules){ var module = moduleslx]; configfmodule] = //generate task config as above } grunt.initConfig({ 'skuid-pull':config });
Then, you would register a task to call each of them:
grunt.registerTask('pull-all', modules.map(function(modName){ return 'skuid-pull:' + modName; }));
Ethan/Skuid–
Has there been any update to this? I’m getting the JSON string heap size limit error despite pulling pages from only one module at a time.
Help!
Made an attempt with a module that only has a few pages, and we’re still getting the heap size error!
Sorry, guys. This turned out to be user error. X(
Still, a system that didn’t require hi-jinks in order to pull large numbers of pages would be much better.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.