Consultor Eletrônico



Kbase P147247: Incomplete BUFFER-COPY ASSIGN statement causes Java OutOfMemoryError in OpenEdge Architect
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/26/2010
Status: Unverified

SYMPTOM(s):

Incomplete BUFFER-COPY ASSIGN statement causes Java OutOfMemoryError in OpenEdge Architect

JAVAW.EXE begins to consume memory when entering a BUFFER-COPY ... ASSIGN statement when editing in OpenEdge Architect

Error appears in .log file

!ENTRY com.openedge.pdt.text 4 20001 YYYY-MM-DD HH:MM:SS.###
!MESSAGE An internal error occured
!STACK 0
java.lang.OutOfMemoryError: Java heap space

Errors appear on-screen after some time

Problem Occured
An internal error occured
java.lang.OutOfMemoryError

Memory usage of JAVAW.EXE can drop after some time but OpenEdge Architect is now essentially unstable

FACT(s) (Environment):

Sample statement:

BUFFER-COPY tt1 TO tt2
ASSIGN
Only affects editing in OpenEdge Architect
Setting -Xmx and -Xms for the Eclipse JVM does not help
OpenEdge Category: Language (4GL/ABL)
OpenEdge 10.1C
OpenEdge 10.2A
Windows

CAUSE:

Bug# OE00185352

FIX:

Upgrade to OpenEdge 10.2A02 or later
Upgrade to OpenEdge 10.2B or later

Workaround:
If possible, avoid use of BUFFER-COPY ... ASSIGN statement. For example, break the statement into 2 parts; a BUFFER-COPY statement and an ASSIGN statement:

BUFFER-COPY tt1 TO tt2.
ASSIGN ...