Thank you for raising this issue Adam! Would you be able to share a copy of your log files and a tflx of your flow so we can see what's happening?
Below are the instructions for collecting and sending your log files if you're able to.
Where are the log files?
- Windows: C:\Users\<your username>\Documents\My Tableau Prep Repository\Logs
- Mac: /Users/<your username>/My Tableau Prep Repository/Logs
Steps to collect log files
- Clear out your logs: Go to your user directory and delete all files there.
- Recreate the issue: Open Tableau Prep and recreate the issue
- Close Tableau Prep
- Zip up all the new log files
- Attach the zip file and reply to this thread, or respond to me directly if you prefer
I'm having the same problem, apart from having first created an Alteryx flow.
How can I send you my files directly, Arthur?
Here's what I got at the end of U_13264.log:
[2018-08-01T00:12:58.483] BackendManager: got GET request for health checking, returning 200
[2018-08-01 00:13:03,809] 10464@CIS1JZ0SN12 54936 [pool-2-thread-1] p: DEBUG com.tableau.loom.cache.CachingMaterializationManager - Finished cache operation 94aa97b1-4710-4251-8bcf-b9eeba5f6f10
INFO: Initializing Spring embedded WebApplicationContext
java.util.concurrent.ExecutionException: com.tableau.loom.lang.api.exceptions.LangSystemException: System error: Java heap space
Caused by: com.tableau.loom.lang.api.exceptions.LangSystemException: System error: Java heap space
... 7 more
Caused by: java.lang.OutOfMemoryError: Java heap space
[2018-08-01T00:13:12.690] App: stopping backend
PS: I'm running Windows 10, Java (32 bit) version 8 update 131.
When I increase the heap size by setting the -Xms####m runtime parameter, it takes longer for the flow to bomb, but it still does. I've gone up to 4g (4096m).
For what it's worth, here's a screenshot of the cpu and memory utilization from when the flow was running.
Update: I tried converting the two largest input files from excel into Tableau .Hyper files to see if that would help – it did not.
Additionally, I increased the Heap in Java to its max – after doing so I got a new error of Java GC overhead limit exceeded. I am attaching my Log file. (unable to attach packed flow due to sensitive data)
Also similar to what Brook made mention of with her screen shot, the CPU memory for both Java and Prep go through the roof during processing.
Logs.zip 2.2 MB
I have the same Issue, using macOS High Sierra 10.13.5 and Tableau Prep 2018.1.2
When the flow starts, suddenly the memory occupied by Java passes from 900MB to 2.2GB and the flow stop working.
It's happening since one week when the same flow was working before.
Attached my Prep Logs and a screenshot.
Please check as soon as possible, because a problem of this kind makes the flow unusable and it is impossible to proceed with the work.
Logs 2.zip 542.4 KB
Workaround: clicking on one of the last steps before the output (by loading the data of the step) and then making the output the problem related to "java heap space" does not occur.
@Alessandro Pini - this did not work for me, unfortunately.