Hello,
I wrote a script to automatically load a bunch of files as attachments, using two API calls to first upload files to the file service and then attach this file from file service to a VI document. Unfortunately, my script crash after 5 iterations, because the File service goes down, each time for the same reason: "java.lang.OutOfMemoryError: Java heap space"
After a lot of exploration, I figured out, by requesting the fdhdata.dh_file table at the same time than uploading the files, that the script goes down because I generate a lot of requests without waiting for the content to be indexed. So my question is: which SAS service can I request to kown if (or when) the files' content is indexed?
Thank you for your help,
JD
Hi Paulius,
Thank you for the response! In fact, in my fdhdata schema, the dh_file table does contain "content_extracted_flg" and "extracted_content_txt" variable (I'm using a 10.6 version of VI); I see it when requesting the PG database directly.
I rose the java_option_xmx to -Xmx2048m and it's actually working fine.
Cheers,
JD
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
Hi Paulius,
Thank you for the response! In fact, in my fdhdata schema, the dh_file table does contain "content_extracted_flg" and "extracted_content_txt" variable (I'm using a 10.6 version of VI); I see it when requesting the PG database directly.
I rose the java_option_xmx to -Xmx2048m and it's actually working fine.
Cheers,
JD
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →