Kbase P170174: Significant memory usage when re-attaching proBindingSource to proDataSet
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/07/2010 |
|
Status: Unverified
SYMPTOM(s):
Significant memory usage when re-attaching proBindingSource to proDataSet
Significant memory usage when re-attaching proBindingSource to QUERY
Significant memory usage when re-attaching proBindingSource to BUFFER
Memory usage grows to nearly 1GB when application is running
Concerns about memory usage
FACT(s) (Environment):
Windows
OpenEdge 10.2x
CAUSE:
Bug# OE00199259
FIX:
To work around this problem simply avoid detaching and re-attaching the data source from the proBindingSource. Instead, try re-opening the query after refilling the data source and/or running the bindingSource's PositionChanged event manually, passing in (?,?).
If your application logic requires that you detach and re-attach to a BindingSource frequently another option is to :Dispose() of the bindingSource and NEW another one.