![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | EOutOfMemory with TSurfaceSeries | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | Uwe Raabe <uwe> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | blocker | CC: | sandra |
| Priority: | --- | ||
| Version: | 21.170329 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Sample project to reproduce the bug | ||
BTW, this happened with the trial version. |
Created attachment 764 [details] Sample project to reproduce the bug I get an EOutOfMemory exception displaying a 3D surface with my data. Luckily I was able to track down the problem to a few lines of code: - create a VCL forms application - drop a TChart onto the form - add a 3D surface series - execute the code below var I: Integer; J: Integer; begin Series1.Clear; for I := 10 to 100 do begin for J := 1 to 100 do begin Series1.AddXYZ(I*10, Random(10), J*100000); end; end; end; When the series is going to be displayed the app memory goes beyond 1.5 GB and throws an exception. The problem seems to be related to the large X- and Z-values. Everything is OK when the factor is removed and lower numbers are used.