aspose file tools*
The moose likes Java in General and the fly likes maximum size of String Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "maximum size of String" Watch "maximum size of String" New topic
Author

maximum size of String

sakuja jangra
Greenhorn

Joined: Dec 18, 2006
Posts: 6
hi all,
I have got a condition where I have to pass a string to a web service. ealier this service was accepting parameter as CSV file but now that's taking that parameter as String. I have to pass the String with the condition that size of String cant be greater than 80 MB. I know this is bad design but cant think of any other option at present(due to time constraint and contract with the web service).
My question is how can we decide the size of String doesn't cross 80 MB(It can be somewhat less for that matter). I hope that is based on JVM allocation of memory. but I want that independant of that. I searched internet but couldn't find any pointer towards that.

Please help. thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61608
    
  67

Please reserve this forum for adbanced Java questions. I have moved this post to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: maximum size of String