Focal Point
[Closed, Unresolved] Maximum String Size for a Field?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/9207012576

March 19, 2015, 03:48 PM
John_Edwards
[Closed, Unresolved] Maximum String Size for a Field?
This is in reference to this thread -- http://forums.informationbuild...1057331/m/6297001576

I have a varchar(max) in SQL*Server that can run 100,000+ characters. It's an XML string and I've parsed in the master file so that I can access the fields individually. But -- some of these strings are too long to be consumed, and when I hit these records I'm getting an error --

L    (FOC1357) NOT ENOUGH VIRTUAL MEMORY


I don't exactly know why there is an L on the far left but I included it in case it's a tip-off to developers.

These strings range anywhere from 20,000 to 130,000 characters and have a lot of blank spaces embedded in them. I've created a view in SQL*Server that removes as many of those blank characters that I can manage, but I'm still running long and I may need to get even more creative.

Here's the question -- what is the longest string that I can handle in a varchar field via DMC routines?

J.

This message has been edited. Last edited by: John_Edwards,



April 02, 2015, 10:29 AM
Clif
VARCHAR columns described as AnV are indeed limited. Is that what you are using? If so please use TX instead.


N/A
May 14, 2015, 10:32 AM
John_Edwards
Still struggling with this, it seems to top out at about 50K regardless of the data type used for capture. Something in the internals of DMC and WebFOCUS run out of memory when you hit a string longer than that. I can't pick out a specific number as the top of this currently.

J.



May 15, 2015, 10:01 AM
Clif
Sorry you are still struggling. At this point I think it would best if you would open a hottrack case and upload a sample record and the synonym that describes it.


N/A
May 15, 2015, 10:16 AM
John_Edwards
I have.

https://techsupport.informatio...ry.jsp?case=21343536



July 24, 2015, 04:18 PM
John_Edwards
Trouble ticket was closed with no resolution.