* @param OutputHeader
* @param j
*/
- public void updateJobPanelState(WebserviceInfo wsInfo, String OutputHeader,
- AWsJob j)
+ public void updateJobPanelState(WebserviceInfo wsInfo,
+ String OutputHeader, AWsJob j)
{
if (j.submitted)
{
wsInfo.appendProgressText(j.jobnum, progheader);
if (j.hasStatus())
{
+ // Could try to squash OOMs here, but it usually doesn't help - there probably won't be
+ // enough memory to handle the results later on anyway.
+ // try {
wsInfo.appendProgressText(j.jobnum, j.getStatus());
+ // } catch (OutOfMemoryError e)
+ // {
+ // System.err.println("Out of memory when displaying status. Squashing error.");
+ // wsInfo.appendProgressText(j.jobnum,
+ // "..\n(Out of memory when displaying status)\n");
+ // }
}
}
else