Kbase P8148: Memory Violation caused by FIND statement result set
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/5/2003 |
|
Status: Unverified
FACT(s) (Environment):
SCO OpenServer
FACT(s) (Environment):
Progress 9.1B
SYMPTOM(s):
Client receives memory violation when running a piece of code.
SYSTEM ERROR: Memory violation. (49)
Memory violation, but no core or protrace files created
BROKER: Could not spawn a server. (1890)
Local clients connect fine
Can't manually spawn a server
Promon indicates an inactive server with logins but no current users
CAUSE:
Memory Violation caused by a 4GL FIND statement and WHERE clause that finds more than 1 record.
FIX:
Change FIND statement to FIND FIRST statement so only one record is retrieved. This resolved memory violation issue.