You need to sign in to do that
Don't have an account?

Java heap space
I have had a .Net interface application running for some months and now suddenly the last three days, I get an error 'jave heap space' from this piece of code (and other places):
Try
Dim qr As sForce.QueryResult = sf.query( _
"select " & sfAccountFields & " from Account " & _
"where BackOfficeId__c = '" & Trim(strBackOfficeId) & "' and " & _
"SSU__c = '" & strSSU & "'")
If (qr.size = 0) Then Return Nothing
If (qr.size > 1) Then
LogError("Warning: Multiple Accounts with BackofficeId " & Trim(strBackOfficeId))
End If
Return CType(qr.records(0), sForce.Account)
Catch ex As Exception
LogError("GetAccount: Failed to retrieve BackOfficeId: " & strBackOfficeId)
LogError("Error message: " & ex.Message & vbCrLf)
End Try
Any ideas?
Regards,
Per
Todd
Thanks, just wanted to make sure we weren't doing anything stupid.
Per