<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Sounds like it could be your proxy timing out? Is the timeout on F5/Apache/nginx or whatever you're using set to 2 minutes?</div>
<div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)">
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Boggio, Jerry
 <gboggio@mitre.org><br>
<b>Sent:</b> Thursday, May 7, 2020 8:29 AM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Cc:</b> Sutherland, Bryan <bsutherland@mitre.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] ArchivesSpace Background Job Failing</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Verdana}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hello ArchivesSpace Users!</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Based on a suggestion from Steven Majewski of the University of Virginia, we made the following change in archivesspace.sh startup script to allocate more memory - ASPACE_JAVA_XMX="-Xmx2048m”. That solved the issue of generating a PDF
 file (Export > Generate PDF), but creating an EAD file (Export > Download EAD) errors by timing out after 2 minutes.
</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Would anyone have insight on the 2<sup>nd</sup> issue?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Thanks again and stay healthy!</p>
<div>
<p class="x_MsoNormal"><b><span style="color:#2F5496">Gerard (Jerry) Boggio</span></b> |
<b>MITRE Corporation</b> | R504 - <span style="color:#111113">Collaboration & Info Management</span><span style="font-size:18.5pt; font-family:"Arial",sans-serif; color:#111113">
</span>| 781-271-2719 <span style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:#333333">
| </span>Bedford, MA | 2K132</p>
</div>
<p class="x_MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b>From:</b> Boggio, Jerry <gboggio@mitre.org> <br>
<b>Sent:</b> Tuesday, May 5, 2020 11:49 AM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org<br>
<b>Cc:</b> Sutherland, Bryan <bsutherland@mitre.org><br>
<b>Subject:</b> ArchivesSpace Background Job Failing</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Hello ArchivesSpace Users!</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">We have a Resource where we added ~33,600 records of information. Each record consists of 1 field. The data was successfully loaded into ASpace and is viewable. However, when we try to export that information through a background job
 to create a PDF or CSV file we get an error “Java heap space”. If we run the following query in “MySQL Workbench” it completes in less than 3 seconds.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">select title from archival_object where root_record_id = 44;</span></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Does anyone have insight as to why this ASpace batch job would be failing?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Please let us know if you need more information.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Thank you!</p>
<p class="x_MsoNormal"><b><span style="color:#2F5496">Gerard (Jerry) Boggio</span></b> |
<b>MITRE Corporation</b> | R504 - <span style="color:#111113">Collaboration & Info Management</span><span style="font-size:18.5pt; font-family:"Arial",sans-serif; color:#111113">
</span>| 781-271-2719 <span style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:#333333">
| </span>Bedford, MA | 2K132</p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>