Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PowerBuilder application execution error (R0108) Not enough memory to execute the operation – PB Docs 2022 – PowerBuilder Library

PowerBuilder application execution error (R0108) Not enough memory to execute the operation – PB Docs 2022

PowerBuilder application execution error (R0108) Not enough
memory to execute the operation

Symptom

PowerBuilder application execution error (R0108)

Environment

PowerBuilder

Reproducing the Issue

Using the Fill ( chars, n ) function in the following code
produces the error. The ‘n’ parameter is a long value and the length of
the string returned.

The actual value shown above, 250000000, will vary.

To reproduce, if the long parameter above does not fail, increase
the value and watch memory usage in task manager.  The memory will
increase until it fails.

Error can also occur with other string functions. 

Cause

The maximum size string you can create is determined by the memory
that is available to allocate in contiguous blocks.

The long parameter value is less than the documented maximum
Unicode string length of 1073741823.

Solution

If this error occurs, reduce the size of the string until it no
longer fails.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x