What is max String size?

Does the maximum amount of data a String can hold vary per a system's memory or is there a set cap? Would it be possible to store, say, a 48 MB file of ASCII values in a single String?

Can any one tell me, what i have to do if the String Object holds data more than 22MB.
The string object holds that much of data and then the same data have to be displayed in a text area.
i am doing something like this:
private void doReadFile(BufferedReader fileReader) {
String strial = "";
String s = "";     
try{
     //ivjJProgressBar1.setBackground(new java.awt.Color(204,204,204));
if(fileReader != null)
ivjTextArea1.append("One Moment Please.....");
while ((s=fileReader.readLine()) != null)
     temptrial.append(s+"\n");               
strial = temptrial.toString();               
ivjTextArea1.setText(temptrial.toString());     
fileReader.close();
} catch(Throwable exception){
     handleException(exception);
}

Similar Messages

  • What is Max HDD size for MacBook Pro 15" bought in 2006-07

    Hi
    I bought a MacBook Pro 15" about 3.5 - 4 yrs ago. The model is A1211.
    It came with 120GB HDD, 2GB RAM.
    What is the maximum HDD size that this will support? The Apple store employee says, it will support only upto 160 GB. But, I am skeptical it would be that low.
    So, was wondering if anybody knows the max size, and also, which HDD would be best. I want at least 320 GB.

    You can get a 750 GB drive that is 9.5mm high. As far as I know, the 1 TB drives are all still 12.5 mm high, although that could change at any time.
    The fastest 750 GB drive I know of is this one:
    http://www.seagate.com/www/en-us/products/laptops/laptop-hard-drives/
    It is 7200 RPM. At 5400 RPM, there are many other choices. You might want to shop at Newegg, which often has specials on drives, as does Tiger Direct. Newegg also has reviews of individual drives you can look at.
    Personally, I like Western Digital drives, and put the 500 GB Scorpio Black drive in my 2007 MBP, where it has performed without issue. The largest drive that originally shipped with my MBP was a 4200RPM 250 GB drive, the very biggest one you could order in a MBP back then.
    Any 2.5 inch SATA drive should work just fine. The only one I would avoid is WD's 640 GB drive because a number of people have has issues with it in their Macs.
    You might shop around on line a bit, and if you are torn between two or more drives, post back with what they are and ask for opinions. Everybody has favorite drives, so it may not be possible to get anything other than a bunch of opinions.
    One other thing to watch out for. Some drives are sold with or without some form of free fall sensor. Apple has its own built in sensor called the Sudden Motion Sensor. In some machines and drives, there seems to be a conflict between the drive's sensor and Apple's SMS. If that happens, you would need to disable Apple's sensor. Usually it's easier just to select the drive without a built-in sensor and let Apple's SMS work as its designed to do. In the Seagate drive I linked, it's called "G-Force", but would have a different name in a different brand.
    Incidentally, you can up your RAM to 3 GB if you like.
    Good luck!

  • What the max HDD size my Motherboard can take?

    I got these specs:
    Motherboard:   MSI MS-6342/K7M Pro (MS-6340M)/K7TM Pro (MS-6340)
    Bios: http://img230.echo.cx/img230/2712/pixx9kl.jpg
    I want to know if they can run on ATA 133, if they can get 16 mb Cache, and what is the max size max each HDD?
    It it not mentioned on the mainsite :-/

    Quote from: Fredrik Åsenius on 26-June-05, 06:47:00
    Hello Erwin!
    As it normally is the same BIOS for them, I think this might help:
    http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=131
    "On-Board IDE
    • An IDE controller on the VIA® VT82C686B Chipset provides IDE HDD / CD-ROM with PIO,
       Bus Master and Ultra DMA 33/66/100 operation modes. "
    http://www.msi.com.tw/program/support/bios/bos/spt_bos_detail.php?UID=131&kind=1
    BIOS, update version 4.4
    "-Support HDD Size larger than 137GB"
    Hmm, how can you see if you have succesfully updated to version 4.4? because I am not sure if I did it right 
    Also it supports HDD larger than 137gb, does it support up to a 300 gb?

  • What is maximum string size in form's text item.

    Hi:
    Is 65534 the maximum number of characters that a text item can hold? I believe this is true and then only when I use a long which is hard to handle as a string. I need to build a popup that allows a user to paste a large set of data and then I need to break the pasted information into 100 character chunks. Has anyone done this in the past and did you get around the character limit size?
    Thanks,
    Thomas

    The Help documentation seems to indicate that 65,534 is the maximum. If you think a user will exceed that limitation, you may want to consider changing your design and provide a mechanism for storing the text file as a blob in the database. If you still needed to break the text up into chunks, you could write a stored procedure that could do that.

  • Does anyone know what the max file size is?

    I'm just curious, because I want a portable music player that can play audio files in excess of 150mb (wav files) and am wondering if the 5G ipods can handle such files without skipping.

    There is no maximum file size.
    The 5th Gen iPods can play full length movies, in excess of 500mb. It won't have any trouble playing a large WAV file.
    Skipping won't be an issue... but you can be sure that your battery life will suffer a bit. If the file size is larger than the iPods buffer (which I believe is 64mb on the 5th Gen), then the hard disk will spin constantly throughout the playback of the track. This will put a strain on the battery.

  • Max. disk size in A1000?

    Hi,
    Does anybody know what the max. disk size is that works in a A1000 array? We have so far used 76GB disks in an 8 slot A1000.
    Thanks

    Hello Erwin,
    SCSI is less limited than IDE. The next bigger size should work.
    The Seagate ST3146707LC (146.8GB - 10000 RPM Ultra-320) and Fujitsu MAT3147NC (146.8GB - 10000 RPM Ultra-320) are listed as compatible.
    http://sunsolve.sun.com/handbook_pub/Systems/A1000/component s.html#Disks
    Michael

  • Max File size in UFS and ZFS

    Hi,
    Any one can share what is max file size can be created in Solaris 10 UFS and ZFS ?
    What will be max size file compression using tar,gz ?
    Regards
    Siva

    from 'man ufs':
    A sparse file  can have  a  logical  size  of one terabyte.
    However, the  actual amount of data that can be stored
    in  a  file  is  approximately  one  percent  less  than one
    terabyte because of file system overhead.
    As for ZFS, well, its a 128bit filesystem, and the maximum size of a file or directory is 2 ^64^ bytes, which i think is somewhere around 8 exabyte (i.e 8192 petabyte), even though my calculator gave up on calculating it.
    http://www.sun.com/software/solaris/ds/zfs.jsp
    .7/M.
    Edited by: abrante on Feb 28, 2011 7:31 AM
    fixed layout and 2 ^64^

  • MAX DATA SIZE IN ORACLE APPLICATION

    WHAT IS MAX DATA SIZE DOES AN ORACLE APPLICATION CAN HANDLE I.E MAX TABLE SIZE

    Oracle Application can easily fill that.
    And can you hit the "Caps Lock" on your keyboard once more to turn it off.
    Daljit Singh

  • D1000 Max Disk Size

    I have found conflicting information. I am hoping one if the experts here can help. I am trying to find out what the max disk size is for the D1000's. The handbook says 73GB but the sunstore sells 146GB drives that are for the D1000. So which is it? I don't want to buy 12 x 146GB drives to find they won't work in that configuration.
    http://sunsolve.sun.com/handbook_pub/Systems/D1000/component s.html#Disks
    http://sunsolve.sun.com/handbook_pub/Systems/D1000/D1000.htm l
    Thanks!

    Hello Andrew,
    the 146GB disks are listed in the <b>Full Components List</b> (your first link). If you order the disks from Sun, you can confirm that information.
    While the disks work in the D1000, you should keep in mind that the disk array is attached with Ultra40 and these disks are Ultra320. The disks are capable of a much higher transfer rate than the connection can support.
    Michael

  • Max. video size on iPhone

    I know there is a lot of articles about this but I didnt find straight answer about this because some say this and some say that.
    So. I want Rip my DVD on Maximum Size and quality so I can watch it on ma Laptop or TV but still be able to put it on iPhone. Because I dont have iPhone yet but want to start rip my DVDs I need to know from somebody who done it...
    1. Whats the Max. Size I can rip and still be able to put it on iPhone (probably iPhone3)
    2. I know that ideal would be 640x480 but I heard that 720x400 can be put on iPhone without any problems.
    Lets say I will do it in 720x400 how its gonna appear on iPhones screen.

    This is directly from the iPhone Specs Page
    Video
    * Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    http://www.apple.com/iphone/specs.html
    If you happen to have a High Def movie from iTunes Store in iTunes. You can right click on it, Get Info, And this will tell you the total size of that. It may be bigger then what the Specs show.
    Also keep in mind on Discussions we can not discuss the ripping of DVD's

  • Max HD size for Pro 4600

    I have a Satellite Pro 4600 with bios ver 2.6. Does anyone know what the max hd size is for this?

    I am also looking for a 40 GB HD for a Satellite Pro 4600 currently fitted with a 10 GB HD.
    So far, I have not been able to find any information on the Toshiba site on the maximum size of HD supported by the V2.6 BIOS.
    Some after-market suppliers offer HD upgrades by a company called Addion, but no one seems to know exactly what the upgrade includes and if a modified BIOS or HD driver have to be installed in order for the full capacity of the HD to be used.
    Has anyone else any experience with these or other HDs?
    Will the Toshiba MK4032GAX 2.5" HDD work in a Satellite Pro 4600 without any problems or will only some of the capacity be useful?
    Many thanks in advance for any help you can provide.
    David

  • What is the max file size that a Adapter Engine [J2SE] can handle ?

    We are having a scenario where a 4 GB compressed file needs to be sent across without mapping, I'm trying to explore the possible options to tackle this scenario.
    Some of the options, we are considering :
    - Sending a file from one Adapter Engine [J2SE] to another Adapter Engine [J2SE] bypassing PI. Adapter Logs will be monitored. What is the maximum file size that can be then handled assuming a standard installation ?
    - What is the max file size that Adapter Engine [J2SE] can send through PI without mapping?
    Any help with the above options or with any other possible solutions to handle extremely large file transfers will be much appreciated.

    Hi,
    j2se is not a good option here
    if you have 4gb then you need a copy solution
    a) build an proxy that will just copy the file from sender dest to receiver
    b) build an adapter that will do the same as proxy)
    this way processing of this message will be controlled with SAP PI/XI
    it will be as quick as copy & paste of the 4gb file
    I did the a) for one of the flow for 300 mb and it works perfectly
    Regards,
    Michal Krawczyk

  • What is te max. file size for lightroom

    i have some very big files. lightroom says that the are to big to catalog. but what is the max. file size ?

    There is no MAX file size.
    As John points out, the limits are on the number of pixels, not file size

  • I'm using DVD Studio pro to burn a dvd but it won't let me cause I keep getting a "Formatting Failed" error message.  It says "Formatting was not successful. Layer 0 exceeds max layer size allowed. Choose a suitable marker location." What does this mean?

    I'm using DVD Studio pro to burn a dvd but it won't let me cause I keep getting a "Formatting Failed" error message.  It says "Formatting was not successful. Layer 0 exceeds max layer size allowed. Choose a suitable marker location that will support this condition." What does this mean?
    Kris

    It means your file is too large to fit on a single layer disk.
    Recompress to keep the overall size (audio,video and menus) below 4.5GB
    x

  • What is max size of email to or from icloud

    what is max size of email to or from icloud

    Welcome to the Apple community.
    The maximum size email in iCloud is 20 MB.

Maybe you are looking for

  • EJB from stored procedure lookup problem

    We are running a test case with in an EJB deployed to Oracle 8.1.6, accessing it from a Java stored procedure. It works okay if the stored procedure is called a limited number of times from a single client (client is non-Java). However, for performan

  • Look at the wired error!

    Look at the following code(about XML parsing but it does not matter with the error): Element header = (Element) document.createElement("WfMessageHeader"); if (msg.isResponse) Element requestOrResponse = (Element) document.createElement("Response"); e

  • Group Policy Printers failing - Windows 8.1 Enterprise

    Been struggling with this for years, across the past several versions of Windows. Currently we're on Windows 8.1 Enterprise, deployed in a lab environment. I'd like to get the entire lab connected to a shared printer for any user who logs in. First o

  • Multiple users - shared folders - file permissions

    I want to be able to copy and move files between two user accounts so that each user will have read-write permsssions for those files. I have the standard Shared User folder (HD:Users:Shared), and the standard Users' Shared folders. More specifically

  • Slideshow settings in Photos for Mac

    Hello, can anybody tell me where to find 'Settings' for Slideshows in Photos for Mac? To do things like changing the music, view etc etc as was in iPhoto.... thanks