Input pattern or replacement parameters exceed 32K size limit

Hi,
Following is my code
declare
v_clob1 clob := empty_clob;
v_clob2 clob := empty_clob;
begin
select result into v_clob2 from evex_output_copy where evex_output_uid = 1;
v_clob1 := 'a';
v_clob1 := replace(v_clob1, 'a', v_clob2);
end;
the length of v_clob2 is greater than 32K.
It shows the following error.
input pattern or replacement parameters exceed 32K size limit
How can I solve this ?
Ivan

Try the DBMS_LOB.copy procedure.

Similar Messages

  • How to execute a Query which exceeds 32K size?

    My Stored Procedure has one o/p parameter of REF CURSOR type. Based on the inputs,i'm forming the dynamic query which exceeds 32k size in length. So when i'm executing the proc it throws error.
    How can i execute the procedure contains dynamic query(>32k size) and get the result set through REF CURSOR type o/p parameter?
    I heared that it's possible through DBMS_SQL.PARSE() procedure. If it so, explain me in detail.
    Thanks!

    http://htmldb.oracle.com/pls/otn/f?p=2853:4:9265445064393730839::NO::P4_QA_ID:401

  • Hitting the 32k size limit with Keyword Expansion in packages

    Hi!
    I am hitting the 32k size limit with Keyword Expansion (KE). It is hardcoded in the procedure jr_keyword.analyze_mlt.
    Are there any plans to get rid of this limit, so package bodies with size > 32000 bytes can be expanded?

    Well, I am making progress. With a combination if utl_tcp.get_line() - to trap the header and utl_tcp.get_text - to get the data at 32K chunks - which I then put into a CLOB or VARRAY of VARCHAR2; I can get as much data as is sent.
    The problem now is speed.
    It takes over 60 seconds to get 160K (5 32K chunks) of data when I put it into the VARRAY of VARCHAR2, and it takes even longer if I use dbms_lob.write() and dbms_lob.writeappend() to store the data.
    Am I doing something wrong? Is there another way?
    Thank You for any Help.
    Shannon

  • Apple Mail  outgoing message exceeds ISP size limit?

    A short e-mail with a 16MB attachment sent via Apple Mail was rejected because, at 21.9MB, it exceeded the 20MB limit from ISP Verizon.
    Same e-mail and attachment sent from the same computer across the same ISP via G-mail had no problem.
    Does Apple mail add 6MB of overhead to a message?
    How can I fix that?

    If the attachment is a picture or equivalent, it may be being displayed as such in the body of the email message. This could increase the size of the message as sent.
    If that is the kind of attachment, try right-clicking (or Control-clicking) on it in the New Message window; from the contextual menu that appears, select "View as Icon".
    Then test.

  • Replacement G4 hard drive size limit?

    Hello! First I want to thank all of you for sharing your troubles and fixes. I've had very little trouble with my iBook in the past few years. A refreshing change from all the monkey-motion associated with my other pc clones!
    But my hard drive has died. My question is... are there any limits on the size of hard drive? Will the iBook itself recognize a considerably larger drive than it was born with? It had a 30 GB drive and the drives now come 5 times larger or more. If there are limits, what are they?
    I've read in other posts about G3 machines not recognizing larger than 8B physical formats. However, a partition of 8GB will be recognized with the remaining physical space in one or more other partitions. Is the same true of the G4?
    Feel free to add any other advice or suggestions. Thanks!

    khsmward, Welcome to the discussion area!
    There isn't really any size limit to the hard drive that you can install.

  • Messaging server size limit

    Hallo
    As I see, I have common problem among the Sun Messaging Server administrators. I have whole system distributed on several virtual solaris machines and some days ago emerged message size problem. I noticed it in relation with incoming mail. When I create new user, he or she can't get larger mail then 300K. Sender get will known message:
    This message is larger than the current system limit or the recipient's mailbox is full. Create a shorter message body or remove attachments and try sending it again.
    <server.domain.com #5.3.4 smtp;552 5.3.4 a message size of 302 kilobytes exceeds the size limit of 300 kilobytes computed for this transaction>
    Interesting thin is, that this problem arised with no correlation with other actions. I noticed this problem with new users before, but i could successful manage it with different service packs. Now this method with new users, this method doesn't work! Old users normally recieve messages bigger then 300k, as before.
    I tried to set default setting blocklimit 2000 in imta.cnf, but I didn't succeed.
    I know, that size limit can be set on different places, but is there a simple way, to set sending and recieving message size unlimited?
    Messaging server version is:
    Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)*
    libimta.so 7u2-7.02 64bit (built 03:03:02, Apr 16 2009)*
    Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)*
    SunOS mailstore 5.10 Generic_138888-01 sun4v sparc SUNW,SPARC-Enterprise-T5120*
    Regards
    Matej

    For the sake of correctness, the attribute name in LDAP is mailMsgMaxBlocks.
    I also stumbled upon this - the values like 300 blocks or 7000 blocks are set in (sample) service packages but are not advertised in Delegated Admin web-interface. When packages are assigned, these values are copied into each user's LDAP entry as well, and can not be seen or changed in web-interface.
    And then mail users get "weird" errors like:
    550 5.2.3 user limit of 7000 kilobytes on message size exceeded: [email protected]
    or
    550 5.2.3 user limit of 300 kilobytes on message size exceeded: [email protected]
    resulting in
    <[email protected]>... User unknown
    or
    552 5.3.4 a message size of 7003 kilobytes exceeds the size limit of 7000 kilobytes computed for this transaction
    or
    552 5.3.4 a message size of 302 kilobytes exceeds the size limit of 300 kilobytes computed for this transaction
    resulting in
    Service unavailable
    I guess there are other similar error messages, but these two are most common.
    I hope other people googling up the problem would get to this post too ;)
    One solution is to replace the predefined service packages with several of your own, i.e. ldapadd entries like these (fix the dc=domain,dc=com part to suit your deployment, and both cn parts if you rename them), and restart the DA webcontainer:
    dn: cn=Mail-Calendar - Unlimited,o=mailcalendaruser,o=cosTemplates,dc=domain,dc=com
    cn: Mail-Calendar - Unlimited
    daservicetype: calendar user
    daservicetype: mail user
    mailallowedserviceaccess: imaps:ALL$pops:ALL$+smtps:ALL$+https:ALL$+pop:ALL$+imap:ALL$+smtp:ALL$+http:ALL
    mailmsgmaxblocks: 20480
    mailmsgquota: -1
    mailquota: -1
    objectclass: top
    objectclass: LDAPsubentry
    objectclass: costemplate
    objectclass: extensibleobject
    dn: cn=Mail-Calendar - 100M,o=mailcalendaruser,o=cosTemplates,dc=domain,dc=com
    cn: Mail-Calendar - 100M
    daservicetype: calendar user
    daservicetype: mail user
    mailallowedserviceaccess: imaps:ALL$pops:ALL$+smtps:ALL$+https:ALL$+pop:ALL$+imap:ALL$+smtp:ALL$+http:ALL
    mailmsgmaxblocks: 20480
    mailmsgquota: 10000
    mailquota: 104857600
    objectclass: top
    objectclass: LDAPsubentry
    objectclass: costemplate
    objectclass: extensibleobject
    dn: cn=Mail-Calendar - 500M,o=mailcalendaruser,o=cosTemplates,dc=domain,dc=com
    cn: Mail-Calendar - 500M
    daservicetype: calendar user
    daservicetype: mail user
    mailallowedserviceaccess: imaps:ALL$pops:ALL$+smtps:ALL$+https:ALL$+pop:ALL$+imap:ALL$+smtp:ALL$+http:ALL
    mailmsgmaxblocks: 20480
    mailmsgquota: 10000
    mailquota: 524288000
    objectclass: top
    objectclass: LDAPsubentry
    objectclass: costemplate
    objectclass: extensibleobject
    See also limits in config files -
    * msg.conf (in bytes):
    service.http.maxmessagesize = 20480000
    service.http.maxpostsize = 20480000
    and
    * imta.cnf (in 1k blocks): <channel block definition> ... maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
    i.e.:
    tcp_local smtp mx single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 2 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth missingrecipientpolicy 0 loopcheck slave_debug sourcespamfilter2optin virus destinationspamfilter2optin virus maxblocks 20000 blocklimit 20000 sourceblocklimit 20000 daemon outwardrelay.domain.com
    tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth missingrecipientpolicy 4 maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
    tcp_submit submit smtp mx single_sys mustsaslserver maytlsserver missingrecipientpolicy 4 slave_debug maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
    tcp_auth smtp mx single_sys mustsaslserver missingrecipientpolicy 4 maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
    If your deployment uses other SMTP components, like milters to check for viruses and spam, in/out relays separate from Sun Messaging, other mailbox servers, etc. make sure to use a common size limit.
    For sendmail relays sendmail.mc (m4) config source file it could mean lines like these:
    define(`SMTP_MAILER_MAX', `20480000')dnl
    define(`confMAX_MESSAGE_SIZE', `20480000')dnl
    HTH,
    //Jim Klimov
    PS: Great thanks to Shane Hjorth who originally helped me to figure all of this out! ;)

  • Is there a size limit to internal drive?

    For some reason I remember there being a size limit for internal drives on the Power Mac, dual 2.0 GHz G5. I have one 250 Gig drive installed, and want to add another 500 gig drive. Will the drive exceed the size limit?
    If the size is ok, does anyone have a recommendation for a reliable, reasonably fast 500 gig drive?
    Thanks.

    I'm so glad you asked about this. I just bought a G5/1.6 GHz that has an 80GB and I wanted to install a 500 GB second drive but the manual did say that the maximum total between the two drives couldn't be more than a total of 500 GB between the two drives.
    Do we know people that have done/are doing this? I use my G5 for audio recording and that's why I wanted a large second drive and I was thinking that since I'd already had the 80 GB drive already in the G5 I'd have to put nothing larger than a 400 GB in the second drive slot so I wouldn't go over that 500 GB limit I read about in the manual.
    Excellent news if this really is the case that there's no limit to the size of the additional hard disk.
    Since we're on this topic, (I realize this is probably covered elsewhere), but does this same theory apply regarding the 4 GB memory limit that Apple states in the owners manual for the G5 1.6 GHz model?
    It's got four DIMM slots for a maximum of 4GB using four 1 GB DIMMS.
    Is it possible to use four 2 GB DIMMS and get 8 GB of memory running in these earliest G5's?
    The other two other models of the G5 that were released with the 1.6 Ghz were the 1.8 GHz and the Dual 2.0 GHz G5's and they have eight DIMM slots and are capable of using 8 GB.
    So I was wondering if this too was due to Apple not having access to 2 GB DIMM memory modules back in those days (2003) that would have allowed the G5/1.6GHz models to run with 8 GB RAM installed in four slots?
    Thanks guys, really glad I found this post before I bought a smaller hard disk because of what I read in the manual.
    Best,
    John

  • Size limit of 16TiB to sparsebundle files?

    I manage several servers with higher disk volumes. Some use OsX.
    At one particular customer, the OsX 10.7.5 fileserver has 21TB available and the OsX 10.8.4 backupserver has 25TB. Using TimeMachine we stumbled across an apparent size limit of 16TiB (17.59TB) for sparsebundle files. Whenever we try to expand the sparsebundle beyond that size, we receive error messages about exceeding `the´ size limit.
    Which one? I found no information regarding such limitations. AFAIK, a sparsebundle is a virtual "Mac OS Extended" filesystem [partition in a virtual disk], which should be able to grow up to 8EiB since OsX 10.4 and the sparsebundle itself resides on a filesystem of that type also. So it's size limit should be 8EiB too. I see no reason, why a sparsebundle should have limits far less.
    How can I create (resize) sparsebundles to, say, 20TB?

    If there's a fixed limit to the size of an OS X disk image, it's not publicly documented anywhere that I know of. That doesn't mean there is no limit. Your customer may be the first person in history to have tried to create one that large. He should be mentioned in the Guinness Book of World Records.

  • Error in executing a process for Flex compilation ....exceeds 32K...

    Hi,
    deployin my model i get the following error-message.
    "Error in executing a process for Flex compilation, Error: Branch between 64935 and 97770 around line 0 exceeds 32K span. If possible, please refactor this component.
    Error: Branch between 64935 and 97770 around line 0 exceeds 32K span."
    Do i delete a sort-element from my model it is deployed very well. So what does this message exactly mean and how can I locate where the error occurs and how can i fix that problem because i need this sort-element to be in my model.
    Thanks for your help!
    Tobias

    Hi Tobias,
    You are receiving this error due to a current limitation in the Flex server. How you can fix this is to split the iView you are currently working on into two iViews, and embed one within the other. This will decrease the size of the current iView you are receiving the error for and eliminate this problem.
    Hope this helps
    Cheers,
    Scott

  • Flex compilation error: line exceeds 32k span

    Hi All,
    I am trying to execute my application being developed in VC7.0 (nw04s sneak preview version) using tabbed layers. I have 3 layers and has the following UI components
    1 tab/layer: input form
    2 tab/layer: table control
    3 tab/layer: table control
    Following is the error from the source Viewer window
    <b>com.myComp.myProduct.8J.Empdetailsview</b>
    Error in executing a process for Flex compilation, Error: Branch between 8421 and 41193 around line 0 exceeds 32K span. If possible, please refactor this component.
          (E:\usr\sap\J2E\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\empModel_18608\FLEX_COMPILATION_FOLEDR\AAD8J-generated.as:2188)
    Error: Branch between 8421 and 41193 around line 0 exceeds 32K span.
    Failed to compile AAD8J.mxml
    PS: Initially I had a table and chart controls in my second layer (no 3rd layer then) and got the same error however, after removing the chart contrl, the app begun to run.
    Now I added a 3rd layer which has one table contrl only and now the app is not working. I also have eventing between my layers..
    Please help
    Thanks
    Sathish

    Hi
    The 32k issue id pretty hard to get rid of once it starts, instead of using the 3rd layer, try and create a nested iview, you can also try and use a nested iview for each layer, this is a bit more complicated to do but does seem to workaround the 32k problem.
    Jarrod

  • Save for web&.... the image exceeds the size for ....issue with AI on imac i7

    Hi,
    I just upgraded from using macbook Pro to Imac inte core i7 with 4GB. I use illustrator CS3 for high resolution documents i.e saving a Design for say maybe saving for iphone &ipod skin; a quality jpg that is 1300px(width) by 2000px(height.
    General information
    The issue is I keep getting the pop up with:
    The image exceeds the size Save for Web was designed for. You may experience out of memory erros and slow performance. Are you sure you want to continue?
    I click yes, but get another pop up with:
    Could not complete this operation. The rastarized image exceeded the maximum bounds for save for web.
    And last weekend after NOT being able to save anything I went and bought 16GB memory thinking that this ussue would be solved, but nada.
    I have researched around here and google only to find about scratch disk: went to preferences then to plug-ins and scratch Disks -I seem NOT to get to the bottom of this at all.
    And this morning I was trying to create a pattern Design and could not even get the design on the color swatches as I have done before with macbook pro with 4GB -IT'S NOT FUN, because I am NOT doing it right. Do you care to help me out?
    Thanks a whole bunch in advance
    //VfromB

    Are you including a color profile?  What metadata are you including with it?
    How many pixels (h x v)?
    50 kb is not all that big.  Does your image have a lot of detail in it?  Content can affect final compressed size.
    -Noel

  • Zip files Exceedingly compressed size message of 30 megabytes are quarantined

    I get this message when I received a zip file over 30 megabytes.
    FILE QUARANTINED
    The original contents of this file have been replaced with
    this message because of its characteristics.
    File name: '172-16-1-4-04SEP14.ZIP'
    Malware name: 'Exceedingly compressed size'
    I have 3 question
    1. How do I turn off the function in Exchange 2013 of blocking ZIPs over 30 megabytes?
    2. Where is the "quarantine" located that the error message is referring to?
    3. If I want to how can I raise the value to 50 megabytes?
    Please do not post information about Forefront on this. This is not a Forefront problem
    Moses Hull of Alexant Systems

    Hi,
    Please check if the below information helps.
    Maximum attachment size in Transport rules that apply to all Mailbox servers in the organization can be created, set and viewed using below command
    Cmdlets to set: New-TransportRule, Set-TransportRule
    Cmdlets to Get: Get-TransportRule
    Parameter: AttachmentSizeOver
    Or in EAC
    Mail flow > Rules > Add
    or
    Edit .
    Use the predicate Apply this rule if > Any attachment >
    is greater than or equal to
    Use the predicate Apply this rule if > The message >
    size is greater than or equal to
    Refer
    http://technet.microsoft.com/en-us/library/bb124345(v=exchg.150).aspx

  • Problem in Rolling to new a log file only when it exceeds max size (Log4net library)

    Hello,
    I am using log4net library to create log files.
    My requirement is roll to a new log file with name appended with timestamp only when file size exceeds max size (file name ex: log_2014_12_11_12:34:45 etc).
    My config is as follow
     <appender name="LogFileAppender"
                          type="log4net.Appender.RollingFileAppender" >
            <param name="File" value="logging\log.txt" />
            <param name="AppendToFile" value="true" />
            <rollingStyle value="Size" />
            <maxSizeRollBackups value="2" />
            <maximumFileSize value="2MB" />
            <staticLogFileName value="true" />
            <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
            <layout type="log4net.Layout.PatternLayout">
              <param name="ConversionPattern"
                   value="%-5p%d{yyyy-MM-dd hh:mm:ss} – %m%n" />
              <conversionPattern
                   value="%newline%newline%date %newline%logger 
                           [%property{NDC}] %newline>> %message%newline" />
            </layout>
          </appender>
    Issue is date time is not appending to file name. 
    But if i set "Rolling style" as "Date or composite", file name gets appended with timestamp, but new file gets created before reaching max file size.(Because file gets created  whenever date time changes, which i dont want) .
    Please help me in solving this issue?
    Thanks

    Hello,
    I'd ask the logfornet people: http://logging.apache.org/log4net/
    Or search on codeproject - there may be some tutorials that would help you.
    http://www.codeproject.com/Articles/140911/log-net-Tutorial
    http://www.codeproject.com/Articles/14819/How-to-use-log-net
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Exchange 2013 with Outlook 2013 - Not getting pop-up or mail tips for attachments exceeding max size

    Our environment is Exchange Server 2013 CU3 and Outlook 2013 in cached mode. We have a transport rule that sets the max attachment size to 20 mb.
    If someone sends an attachment larger than 20 mb they receive an NDR letting them know the message wasn't delivered because it exceeded the max attachment size. We would like for the user to be prevented from sending the message at all or to at least
    get a mail tip before they try to send the message. The Outlook pop-up message that says "The file you're attaching is bigger than the server allows. Try putting the file in a shared location ..." isn't being generated for us. Not sure if that's
    because we're running Exchange or not. If that pop-up isn't going to work it would be nice if the user could at least get a mail-tip warning them that the attachment exceeds the limit. But it doesn't look likes there's a mail-tip for attachment size, only
    for message size. And, I've found that the message size mail-tip only works if the limit is set on the user. It doesn't seem to work if the limit is set via a transport rule.
    Has anyone else gotten Outlook to present the pop-up or a mail-tip when exceeding attachment size? Any help you can offer would be greatly appreciated.

    Thanks but I performed all of those trouble shooting prior to posting to the forum. But, I have found the answer!
    After referring to this article;
    http://technet.microsoft.com/en-us/library/bb124345(v=exchg.150).aspx
    I removed the 10mb default limits from the organization config and chose to set the attachment and message size limits in our environment via transport
    rules instead. That is the only way you can actually set an attachment size limit.
    I had read this article several times searching for an answer;
    http://support.microsoft.com/kb/2813269#appliesto
    The key is here;
    "If you are using an Exchange Server account, the 20-MB attachment
    limit for Internet email accounts is not used by Outlook 2013. Instead, Outlook uses the limit that is configured on your Exchange server. To modify the setting that is used to control the size of a message that is sent through an
    Exchange Server account, follow these steps."
    The steps that follow are for Exchange 2010 but they show setting organization limits not server limits. And note that it
    says the size of a message, not the size of an attachment. Since mail-tips for message size are not displayed when the limit is set via the transport rules I thought it
    was possible that the same inconsistency might apply to the attachment pop-up warning. I set the organization limits and voila! The pop-up now displays when an attachment that exceeds the message size limit is added to a message.
    This is exactly what I wanted. Now users won't fill up their sent items trying to send large attachments that just bounce anyway.
    It would be wonderful if Microsoft would provide information about what features of Outlook are affected when you apply message size limits at the
    various levels. 

  • Size limit to jstrings passed as parameters?

    I have written a JNI bridge to enable faster Xalan XSLT processing. The pure Xalan-J code is just too slow on large files, and Xalan-C++ handles the same files much quicker, so I wrote a bridge which sends an inputXML and xslt string to Xalan-C++, and receives a string of the transformedXML back.
    My code works great until it processes a big file, and then the entire inputXML string never seems to get into the nativemethod. I can print it out in its entirety on the java side just prior to calling the native method, but printing in out immediately inside the native method stops partway through the string and then my java app just keeps using almost all of my processor indefinitely. I am wondering if this is some kind of jstring size limit I am hitting, or if I have a memory allocation problem that is just slowing the machine down a bunch. Here is the relevant code:
    Java:
    private native String getTransform(String input, String stylesheet);
    public void transform(Source xmlSource, Result outputTarget) throws TransformerException {
    System.err.println("Starting Transform at "+ System.currentTimeMillis());
    System.err.println("Doc:\n"+NativeSource.getSourceAsString(xmlSource));
    String output = getTransform(NativeSource.getSourceAsString(xmlSource), stylesheet);
    System.err.println("Finished Transform at "+ System.currentTimeMillis());
    C++:
    JNIEXPORT jstring JNICALL Java_com_endeca_edf_adapter_plugins_NativeTransformer_getTransform
    (JNIEnv *pEnv, jobject obj, jstring input, jstring xslt) {
    jclass cls = pEnv->GetObjectClass(obj);
    const char *theInputDocument = pEnv->GetStringUTFChars(input, 0);
    printf("%s", theInputDocument);
    any ideas? Thanks!

    I have changed my code to split large strings into arrays and then recreate the entire string inside the C++. This still works with small files, but large ones (with base-64 encoding) don't work, just churn away forever. I made sure to set the break size real small (1096 chars) so even the small file gets broken up. Here is the code:
    Java:
    * Native method using xalan to transform xml
    private native String getTransform(String[] input, String stylesheet);
    public void transform(Source xmlSource, Result outputTarget) throws TransformerException {
    log.info("Splitting Input at "+ System.currentTimeMillis());
    int size = 0;
    String input = NativeSource.getSourceAsString(xmlSource);
    //log.info("Input XML:\n"+input);
    int numParts = (int)Math.ceil(input.length()/MAX_JNI_STRING_LENGTH);
    log.info("Number of splits= "+numParts);
    String[] inputArray = new String[numParts];
    for(int i=0; i<numParts-1; i++) {
    inputArray[i] = input.substring(size, size+MAX_JNI_STRING_LENGTH);
    size += MAX_JNI_STRING_LENGTH;
    inputArray[numParts-1] = input.substring(size);
    log.info("Starting Transform at "+ System.currentTimeMillis());
    String output = getTransform(inputArray, stylesheet);
    log.info("Finished Transform at "+ System.currentTimeMillis());
    //log.info("Transform is\n"+output);C++:
    JNIEXPORT jstring JNICALL Java_com_endeca_edf_adapter_plugins_NativeTransformer_getTransform
    (JNIEnv *pEnv, jobject obj, jobjectArray inputArray, jstring xslt) {
    //jclass cls = pEnv->GetObjectClass(obj);
    jboolean copy = JNI_FALSE;
    printf("%s", "\ninside\n");
    std::stringstream inputStr;
    for(int i=0; i<pEnv->GetArrayLength(inputArray); i++) {
         jstring inputPart = (jstring)pEnv->GetObjectArrayElement(inputArray, i);
         inputStr << pEnv->GetStringUTFChars(inputPart, &copy);
    char * theInputDocument = new char[strlen(inputStr.str().c_str())];
    strcpy(theInputDocument, inputStr.str().c_str());
    // Below wasn't working on big files, so I had to break up the string
    //const char *theInputDocument = pEnv->GetStringUTFChars(input, &copy);
    if (theInputDocument == NULL) {
         return NULL; // Could be out of memory
    printf("%s", inputStr.str().c_str());
    printf("%s", theInputDocument);Seems like I am either misunderstanding the size issue, or a jobjectArray also has size limits, or something else is going on. Help?

Maybe you are looking for

  • Query help needed in finding max value between two columns

    I have a table as follows: -- INSERTING into TESTTABLE Insert into TESTTABLE (COLA,COL2,COLC,COLD,COLE,COLF) values ('A','4.5','AA',0.3,'AB',5.5); Insert into TESTTABLE (COLA,COL2,COLC,COLD,COLE,COLF) values ('B','1','BB',2.5,'BC',6.9); Insert into T

  • Dual L2206tm monitors - Windows 7 - Can both do touchscreen?

    I have a custom-built desktop computer and I recently got two HP L2206tm monitors because they were on sale. My computer runs Windows 7 Ultimate 64-bit. I have both monitors plugged into USB ports on the desktop, but if I touch one of screen of one o

  • How do i get refund when i can't get anyone at apple to respond to me and when i hit report a problem nothing happens?

    I need some help ASAP!!! I have charges from itunes via in-app purchases that are almost all same amounts but different times. i can not get anyone from apple to respond to me. After i did the whole quick lane via online it said chat later. On emal t

  • How to check CRL validity Period before doing CA Migration ?

    Hi ALL, I am performing a CA migration so for doing that my first step is to Check that CRLs have a validity period that extends past expected migration duration So can any one please let me know how can I check the CRLS validity period ?? If not, pu

  • Adobe to Word FAIL

    Hello, i have tried to convert a pdf file into word and i get this text in the created word file: To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.a