Spool file error - Buffer Overflow

I've a sql script that is running from a.sql file. The script fetches almost 9 million data as a result of the query. Main problem is related to spool file generation. It is saying buffer overflow. But, when i write that query from sql prompts it is running within 2 mins and completes the task within 15 mins.
I've written -
set serveroutput on size ######
But, still it is not working. Total application is freeze whenever i want to run it. Tell me any suggestion if u have.
Satyaki.

i guess what you are more concerned with is the output produced by your query (the spool file).
you need not to see what is displayed on the screen all you need is open up the spool file to
check for those data in there.
to suppress the output from the screen and still generates spool file. use the SET TERMOUT option.
e.g.
-- code for a producing a sample spool file
spool r:\sample_spool.txt;
select * from emp;
spool off;
at the SQL*Plus command line:
SQL> @r:\sample_spool.sql;
     EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
      7566 JONES      MANAGER         7839 02-APR-81       2975       1000         20
      7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
      7839 KING       PRESIDENT            17-NOV-81       5000                    10
      7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
      7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
      7369 SMITH      CLERK           7902 17-DEC-80        800                    20
      7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
      7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
      7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
      7788 SCOTT      ANALYST         7566 09-DEC-82       3000                    20
      7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
      7876 ADAMS      CLERK           7788 12-JAN-83       1100                    20
      7900 JAMES      CLERK           7698 03-DEC-81        950                    30
      7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
14 rows selected.
SQL> -- the above example displays the output on the screen
SQL> -- now we want to turn it off by using the SET TERMOUT option
SQL> SQL> set termout off;
SQL> @r:\sample_spool.sql;
SQL>
after executing the script sample_spool.sql it does not display output from the screen which
we want to avoid the buffer overflow error. and still produce the spool file:
     EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO                                  
      7566 JONES      MANAGER         7839 02-APR-81       2975       1000         20                                  
      7902 FORD       ANALYST         7566 03-DEC-81       3000                    20                                  
      7839 KING       PRESIDENT            17-NOV-81       5000                    10                                  
      7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30                                  
      7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10                                  
      7369 SMITH      CLERK           7902 17-DEC-80        800                    20                                  
      7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30                                  
      7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30                                  
      7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30                                  
      7788 SCOTT      ANALYST         7566 09-DEC-82       3000                    20                                  
      7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30                                  
      7876 ADAMS      CLERK           7788 12-JAN-83       1100                    20                                  
      7900 JAMES      CLERK           7698 03-DEC-81        950                    30                                  
      7934 MILLER     CLERK           7782 23-JAN-82       1300                    10                                  
14 rows selected.

Similar Messages

  • Spool file error

    hi
    I have a requirement that
    i have a sql file in location and take output sql file put to another file as dat in aonther location .
    these all have to be done in .sqlfile(and register as concurrent program) i had thought before register concurrent program the sql
    try it on sql*plus .
    hard coding.
    declare
    fl_path varchar2(100):='D:\venkateswaran works\DBA\file generator\new programs'
    f_name varchar2(200) := 'testvenky'
    o_path varchar2(100) := 'D:\venkateswaran works\DBA\file generator\new programs'
    o_name varchar2(100) := 'testvenky.dat'
    begin
    spool $o_path$o_name;
    @$fl_path$f_name;
    spool off;
    exception
    when others then
    dbms_output.put_line('error');
    end;
    it is show error .
    iam using windows for path
    and oracle 10g sql*plus.
    please help me in regard

    797525 wrote:
    hi
    I have a requirement that
    i have a sql file in location and take output sql file put to another file as dat in aonther location .
    these all have to be done in .sqlfile(and register as concurrent program) i had thought before register concurrent program the sql
    try it on sql*plus .
    hard coding.
    declare
    fl_path varchar2(100):='D:\venkateswaran works\DBA\file generator\new programs'
    f_name varchar2(200) := 'testvenky'
    o_path varchar2(100) := 'D:\venkateswaran works\DBA\file generator\new programs'
    o_name varchar2(100) := 'testvenky.dat'
    begin
    spool $o_path$o_name;
    @$fl_path$f_name;
    spool off;
    exception
    when others then
    dbms_output.put_line('error');
    end;
    it is show error .
    iam using windows for path
    and oracle 10g sql*plus.
    please help me in regardMaybe you just need:
    DEFINE fl_path='D:\venkateswaran works\DBA\file generator\new programs'
    DEFINE f_name='testvenky'
    DEFINE o_path='D:\venkateswaran works\DBA\file generator\new programs'
    DEFINE o_name='testvenky.dat'
    spool &o_path&o_name
    @&fl_path&f_name
    spool offRegards.
    Al
    Edited by: Alberto Faenza on Oct 26, 2012 12:22 PM

  • Rsync Buffer Overflow

    Hi, when using rsync to make a backup and using both the E flag to transfer mac metadata and the c flag to use checksum only to check for changed files, I keep getting "ERROR: buffer overflow in receivefileentry". When I don't use the E flag, it goes fine, but of course, I lose the metadata. (I added the c flag because it was transferring files that hadn't been updated.)
    I'm using the regular apple-pached rsync.
    Thanks in advance. Lucas.

    The version of rsync that comes with Tiger is broken. Don't use it. This has been extensively dicussed in many places, including the Unix forum.
    For your purposes, I think this version is the best option. There are others. None is without issues when metadata enters the picture, but some of them are definitely better than what Apple currently includes with Tiger.
    Regards.
    iMac G5 17" (iSight)   Mac OS X (10.4.4)  

  • Character set Conversion Buffer Overflow Error

    Hi,
    I have got an issue while loading data from a flat file to a staging table. i.e., Character set Conversion Buffer Overflow. Suppose there are 10,000 records in a flat file, after running control file only 100+ records are loading to the staging table. Remaining are errored out. I think there is no issue with control file because when I load data from different flat file containing same no. of records as the previous flat file, it is loading all the records. what could be the reason and solution for this issue.
    Can anyone please suggest me how to resolve this issue.

    DBNS_OUTPUT is a poor choice for debugging. It has very limited used. And as you've discovered, merely debugging code can now result in new exceptions in the code.
    The proper approach would be to create your own debug procedure (or package). Have your code call this instead of DBMS_OUTPUT.
    In your debug procedure, you can decide what you want to do with that debug data for that specific program in the current environment and circumstances.
    The program that runs could be a DBMS_JOB in which case DBMS_OUTPUT is useless. The program can be called several layers deep from other PL/SQL code.. and you want to know just who is calling your code. Etc.
    Having your own debug procedure allows you to:
    - create an autonomous transaction and log the debug data to a log table
    - write it to a DBMS_PIPE for interactive debugging
    - write it to DBMS_OUTPUT
    - record the PL/SQL call stack to determine who is calling who
    - record the current session's environment (e.g. session_context)
    - record the current session's statistics, opens cursors, current SQL, etc. (courtesy of the V$ views)
    etc. etc.
    In other words, your debug procedure gives you the flexibility to decide on HOW to handle the debugging.
    And when you code goes into production, your debug procedure ships with, containing a simple NULL command.. Which means that at any time the DBA can (when the need arise), add his/her debug methods into it in order to trace a production problem.
    Using DBMS_OUTPUT is a very poor, and often just wrong, choice.
    It is fine for writing a quick test. But when you are developing production code and using DBMS_OUTPUT, you must ask yourself whether you have made the right choice.
    And this is not just about wrapping DBMS_OUTPUT. But also wrapping other system calls like RAISE_APPLICATION_ERROR and so on.

  • MODPLSQL generates Buffer Overflow errors trying to login

    I am not entirely sure if this the right place but here it goes anyway:
    We are using Oracle Workflow Manager Standalone(2.6.4) as part of our Warehouse Builder setup on a 10.2.0.3.0. Enterprise database on Linux .
    As such the setup has just recently stopped working where as before it worked for a long time.
    The problem is that it is not possible to log in to Oracle Workflow Manager with any user.
    I have traced this problem to the mod_plsql.so library of the Oracle HTTP Server part of the owf setup.
    What happens is that this module tries to login to the database when a user tries to login with hhis browser and sends an ALTER SESSION statement.
    (This is also described in the docs)
    This statement is misformed however, it contains to much characters.
    Instead of :
    ALTER SESSION SET NLS_LANGUAGE='DUTCH' NLS_TERRITORY='THE NETHERLANDS' NLS_CURRENCY='E'
    the last bit , nls_currency, is being filled with random characters .
    Since the total is more than the allowed limit the database returns, or mod_plsql decides, a ora-1017.
    I used the proxy method described here, January 24, 2006: On a breakable Oracle, to find out what the mod_plsql.so package sends to the database.
    Just read DADS /mod_plsql for SQLPlus.
    I have to do this because these requests are handled as a SYS user and as such are not logged.
    The mod_plsql library is supposed to use the DADS.CONF directives over any environment values.
    However in the case of the PlsqlNLSLanguage directive this does not work.
    The environment variable NLS_LANGUAGE , which is set to dutch , is given precedence.
    It uses that to construct the ALTER SESSION statement.
    If i change the environment variable to AMERICAN, the modplsql.so uses this to pick the currency and it gets the $ sign for NLS_CURRENCY.
    Then the ALTER SESSION statement that is being sent is correct and there is no buffer overflow anymore.
    And the database subsequently allows us in. However this changing of NLS_LANGUAGE at an environment variable level is not desirable for us since we get other translate problems.
    Finally The Questions:
    Why does the mod_plsql.so package also send the NLS_CURRENCY ? This is mentioned in none of the (Oracle) documentation but we can clearly see it happening.
    Where does the mod_plsql.so package get this NLS_CURRENCY from? We don't set it anywhere in the environment or the .conf files, yet it is retrieved somewhere. In our case this is retrieveing some garbage data and thus causing the login to fail. Even looking in the .so library i see no mechanism for nls_currency.
    Why does the mod_plsql.so package favor the environment variable over the DADS.CONF PlsqlNLSLanguage directive. All the manuals say otherwise yet in our case it is not being used. And when i load the library in an editor i see remarks that indeed point to my statement.
    The most important question here is where do i need to look to get the NLS_CURRENCY . It is somehow corrupt and i want to correct this ofcourse.
    Another important one is how we can force the mod_plsql.so package to use the PlsqlNLSLanguage directive since we do not want to change the environment variable.
    I hope someone can help us out here.
    rgrds Mike

    Well i must say i am sorry not haveing received any answer whatsoever.
    This absence of Oracle people here is worrying me, and is the second time in a row lately.
    It seems Oracle is abandoning its own products.
    Anyway, just to answer my own thread so that somebody else gets some benefit from it:
    After investigation i find that it works like this when things go right:
    Modplsql creates a connection with the database and sends numerous key value pairs to the server.
    Such as:
    AUTH_TERMINAL
    AUTH_PROGRAM_NM
    AUTH_MACHINE
    AUTH_PID
    AUTH_SID
    AUTH_SESSKEY
    AUTH_PASSWORD
    AUTH_ACL
    AUTH_ALTER_SESSION    :
    NLS_LANGUAGE
    NLS_TERRITORY
    NLS_CURRENCY
    ... and more NLS_ stuff
    It then sends a pl/sql ALTER SESSION statement this time only with
    NLS_LANGUAGE and
    NLS_TERRITORY
    It then sends several pl/sql code bits probably to test if the database can access owa_match packages.
    In this part it also sends pl/sql to get the database NLS_LANGUAGE, NLS_TERRITORY, and NLS_CHARACTERSET.
    It also sends pl/sql to test owa_util.get_version for the proper version.
    The last part is all of the web stuff: all of the CGI variables including the POSTed data if any. Ofcourse when doing authentication tru basic authentication there is no POST data.
    The authentication info is passed on in the first step with AUTH_PASSWORD.
    The environment value NLS_LANGUAGE is used and parsed in the first bit. The corresponding bits pop up in the AUTH_ALTER_SESSION key-value pair. Modplsql finds the other info(i don't know where really) such as NLS_CURRENCY and puts that there.
    The dads.conf PlsqlNLSLanguage setting is used and parsed in the second step. The second step is formed like  alter session set nls_language='DUTCH' nls_territory='THE NETHERLANDS' .
    So my assumption about modplsql not using the Plsql is wrong here, but due to the error i encountered my debug info never got past step 1.
    If the environment value is not set then a default value of AMERICAN_AMERICA is used.
    What went wrong in my case ?
    The environment var was set to DUTCH. Modplsql uses this to lookup nls_currency as explained to output the info in step 1.
    However nls_currency returned garbage instead of just the euro sign. This is the real problem btw and not solved yet in our case. If someone knows where modplsql gets this info i would like to know this. !
    The other steps were never finished and therefore it looked to the database that the AUTH_ALTER_SESSION    key-value pair was too long.
    It could not authenticate this reqeuest causing the effect that nobody could login. Since these requests are handled as SYS users no logging takes place. Only a trace with the error:
    *** SERVICE NAME:(SYS$USERS) 2013-07-10 11:01:29.414
    *** SESSION ID:(458.3138) 2013-07-10 11:01:29.414
    Buffer overflow for attribute AUTH_ALTER_SESSION - max length[850] actual length[1131]
    indicates there is something wrong here.
    Setting the dads.conf file to override this environment parameter doesn'solve this ofcourse since this info is used somewhere else.
    Fixing it, for now at least , means clearing the envrionment variable , then starting the http server.
    And using DUTCH in the dads.conf file.
    After starting the http server we reset the environment variable.
    I am still looking for an answer on where modplsql gets the NLS_CURRENCY info since thats where the corruption is !
    Hope somebody can use this info.

  • Device buffer overflow error and Log component missing

    I have some previous information in "Error device buffer overflow" post.
    I am currently running a windows XP machine with a 3.4 GHz
    processor and 3 GB of RAM. I tried using just one 9233 module with the
    cDAQ9172 and it worked. I added the second 9233 module and it started
    giving me the error. I checked the memory usage when acquisition is not
    started it was 868 MB and the CPU usage was 0-2%. When I started
    acquisition the memory usage did not change much it went to about 880
    MB and the CPU to about 100% and the error was displayed. The code shows the error that device buffer is overflowing when I use the program on a new machine even for one module with cDAQ9172 but when I switch it back to the original machine it works for single module but not for multiple.
    As the error suggests. I tried switching the update views in "Update
    signals while running" and "Prepare log data for viewing" off but it
    still did not help. If I switch both these off I wont be able to see
    what kind of impact data I am collecting. Please do correct me if I am
    wrong.
    I  need to colelct the impact data on a printer and I have
    a many locations on it that I need to collect data from.  Please
    suggest a solution for this problem.
          Also, if i try using the same project on some other machine it gives me an error indicating some log component files are missing from signal express and need to be installed. This happens when i transfer the project from one machine to another. 
    Thank you.

    Stu,
    You will still be able to print your data in a later step when setting the two options recommended by the error code.  What is likely happening when you try to move the project is that the project has log files still associated with it from previous attempts.  You should save a copy of the project and in that copy delete the log files, then try to move the project over.  SE projects are directly associated with the log files they create. This should allow you to move the project to a new computer.
    When you go to run your project, you should shut down as many background processes as possible, such as IM clients.  If you can disconnect from your network, I would suggest doing that and turning off any antivirus/anti-spyware software you have to free up resources.
    A couple of further questions:
    Are you connecting to a USB 1.0 or USB 2.0 port?  You should be able to determine this by opening the device manager on your computer and expanding "Universal Serial Bus" section. If any of the drivers have "Enhanced" in their name, you have a USB 2.0 port.
    Does this behavior repeat with any combination of the three modules?  For instance, does it work if you just have module one, module two, or module three install?  Do you still get the error if module two and three are used instead of one and two? (This will help determine if we are encountering a problem with the modules or with SE)
    Finally, if you create a project that contains only one step that only reads the data off of all three modules, do you still get the error? (This will help isolate the problem)
    Seth B.
    Staff Test Engineer | National Instruments
    Certified LabVIEW Developer
    Certified TestStand Developer
    “Engineers like to solve problems. If there are no problems handily available, they will create their own problems.”- Scott Adams

  • Display error messages in spool file

    I am running the below code (ssn_run.sql) using sqlplus 10.2.0.1.0 on my windows XP professional client PC.
    The database is a Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit running on Solaris
    There are 3 insert statements and 3 update statements. I have mentioned 'show sqlcode' after each of these
    dml statements. Hence currently, I look at the spool file, analyze before I confirm that every sqlcode is a 0.
    Now, is there a way to alter this code so that it can show if any of the sqlcode is not 0(if there is a problem) somewhere
    at the end of the spool file ? Or even if I am able to just indicate if there is any ORA- error anywhere in the code and can indicate this somewhere at the end of the spool file, that is fine as well.
    --The code
    accept input_ssn prompt 'Enter SSN :'
    set feedback on
    set echo on
    set term on
    set heading on
    set pagesize 0
    set linesize 10000
    set verify on
    undefne sdate input_ssn
    col sdate new_value sdate
    col input_ssn new_value input_ssn
    select to_char(sysdate,'YYYYMMDD') sdate from dual;
    spool C:\PERSON_DATA_&&sdate._&&input_ssn..TXT
    select 'REPORT GENERATED ON : '||SYSDATE FROM DUAL;
    INSERT INTO ADDRESS_OLD SELECT * FROM ADDRESS WHERE ADDRESSID IN(SELECT ADDRESSID FROM PERSON_ADDRESS
    WHERE PERSONID IN(SELECT PERSONID FROM PERSON WHERE SIN = '&&input_ssn'));
    show sqlcode;
    commit;
    INSERT INTO PERSON_OLD
    (PERSONID, TITLE, FNAME, MNAME, LNAME, ACFM, SIN, UNAME, AKANAME, DCFM,
    IROWID, SUFFIX, PTYPE, OLD_SSN)
    SELECT PERSONID, TITLE, FNAME, MNAME, LNAME, ACFM, SIN, UNAME,
    AKANAME, SIN FROM PERSON WHERE SIN = '&&input_ssn';
    show sqlcode;
    commit;
    INSERT INTO MEMBER_OLD
    (CLNT, MKEY, PERSONID, MEMNO, OLD_MEMNO)
    SELECT CLNT, MKEY, PERSONID, MEMNO,MEMNO
    FROM MEMBER WHERE PERSONID IN(SELECT PERSONID FROM PERSON WHERE SIN = '&&input_ssn');
    show sqlcode;
    commit;
    UPDATE ADDRESS SET STREET1 = 'ROCKY RD',STREET2=NULL,CITY = 'ALABASTER',PROVINCE = 'AL',POSTAL='34216',
    PHONE1='1111111111' WHERE ADDRESSID IN(SELECT ADDRESSID FROM PERSON_ADDRESS WHERE PERSONID
    IN(SELECT PERSONID FROM PERSON WHERE SIN = '&&input_ssn'));
    show sqlcode;
    commit;
    UPDATE PERSON SET FNAME = TRANSLATE(SIN,'0123456789','ACEGIKMOQS'),
    LNAME = TRANSLATE(SIN,'0123456789','SQOMKIGECA'),
    UNAME = TRANSLATE(SIN,'0123456789','ACEGIKMOQS')||' '||TRANSLATE(SIN,'0123456789','SQOMKIGECA'),
    AKANAME=NULL WHERE SIN = '&&input_ssn';
    show sqlcode;
    commit;
    UPDATE MEMBER SET MEMNO = MKEY WHERE PERSONID IN(SELECT PERSONID FROM PERSON WHERE SIN = '&&input_ssn');
    show sqlcode;
    commit;
    spool off;
    set term on
    set feedback on
    set HEADING on
    set verify on
    --End of code
    Thanks

    QUESTION:
    As in the code above, I am inputting a value while running the script. And I am spooling all of it to a spool file. I also get the old and new values , like
    old 7: client_54.PERSON_OLD WHERE OLD_SSN = '&&input_ssn'))
    new 7: client_54.PERSON_OLD WHERE OLD_SSN = '123456774'))
    old 11: WHERE PERSONID IN(SELECT PERSONID FROM PERSON_OLD WHERE OLD_SSN = '&&input_ss
    new 11: WHERE PERSONID IN(SELECT PERSONID FROM PERSON_OLD WHERE OLD_SSN = '123456774'
    Is there a way I can get rid of these in the spool file?

  • Javax.mail.MessagingException: 451 Error while writing spool file??

    Hi all friends,
    Can any one plz tell me why Iam getting below error when Iam trying to send mail with attachment.Iam using Java Mail API.
    javax.mail.MessagingException: 451 Error while writing spool file
    Plz tell me what are the reasons behind it.
    Regards
    Bikash

    The problem here is that the SMTP server was unable to write its spool file.
    The error is probably on the OS side of things and has nothing to do with email except that the lack of the system resource is causing email to fail.
    Have the server admin take a look at his error log to find out why the the user that smtp is running as could not write the file.

  • Microsoft C++ Buffer Overflow Error

    I have created two movies from iPhoto on my Mac. When I move them to an XP machine, sometime after 30 minutes of playing, I get the Microsoft C++ Buffer Overflow Error message, and Quicktime for Windows aborts. I have no problems playing them to completion on several Macs.
    I upgraded to the latest QT version, still see the problem.
    Any help appreciated.

    You're having the same issue as I...see my post here: http://discussions.apple.com/thread.jspa?threadID=672272&tstart=30
    Unfortunately, though, I have not gotten a response to my original post.

  • Error SP2-0333: Illegal Spool File Name: (bad character: ' ')

    Below is my spool file logic just to test outputting to a spool file with a date in the spool file. The date part works fine. I can see the date coming out in the error message. It doesn't like the spaces, but I am not in control of the folder names. Any ideas? I have tried putting single and double quotes around it to no avail. I also tried using the concatenation operator || to separate the path from the filename and that didn't work, either.
    col sdate new_value sysdt
    select to_char(sysdate,'YYYY-MM-DD') sdate from dual;
    SPOOL \\Nsgnvl_files\rco\Linecost Audit\General NA Info\CLLI_Code_Discrepancy_Reports\&sysdt.SendToLCAnotInRepository.txt
    SELECT TO_CHAR(sysdate) from dual;
    spool off

    Example :
    SQL> set escape |
    SQL> spool "c:\test| dir\foo"
    SQL> select sysdate from dual;
    SYSDATE
    2007-09-27 16:31:30
    SQL> spool off
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Prod
    ction
    C:\>cd test dir
    C:\test dir>type foo.lst
    SQL> select sysdate from dual;
    SYSDATE
    2007-09-27 16:31:30
    SQL> spool off
    C:\test dir>Message was edited by:
    Paul M.
    but I am not in control of the folder namesSorry, I didn't read carefully.....

  • YDBN - Extract Auto Payment: error message at spool file

    Hi,
    I run YDBN, Extract Auto Payment, and there is an error message at spool file as follows:
    WARNING  ##################
       Please check the DBERROR.TXT file     #
    Bene Account Length is too long.        #
    Does anyone know what is this?

    The Y* and Z* namespaces are reserved for end-users.  YDBN is a transaction custom to your site!

  • I/O Error when writing access Log buffer to file. error number: 28

    Hi,
    Oracle OracleAS Web Cache 10.1.2.3.0, Build 10.1.2.3.0 080201 is writing events like this:
    [alert 13215] I/O Error when writing access Log buffer to file. error number: 28
    I've looked for this alert and i've found this description:
    WXE-13215 I/O Error when writing access Log buffer to file. error number: %d
    Severity: alert
    Cause: I/O error happened when OracleAS Web Cache tried to write to the access log file.
    Action: Check the status of access log file. For example, see if the disk is full
    Anybody knows what "error number: 28" stands for? The logs are sended to other server and it seems that the disk size is ok.
    thanks!

    I tested again...it seems LabVIEW doesn't like the way I wrote the measurement files. I attached a set of VIs (ZIP-file) to give you a clue how it was done. When I try to save and read a file containing just plain DBLs from a 1D-Array (see attached file generating VI) it works perfectly well for large file sizes.
    So there might get something messed up by the way LabVIEW saved the measured data. You'll notice, that I (accidentally) left the "prepend array string size" input of "write to binary file" function unwired which means that the size information will be written as a type of header. Maybe this is the reason that it doesn't work as expected...
    Attachments:
    VibrationMeasurement.zip ‏76 KB
    generate_test_bin_data.vi ‏12 KB

  • Doing Data acq. and buffered period measurement using counters simultaneously, gives an buffer overflow error

    Iam doing Data acquisition using NI-PXI 4472 and buffered period Measurement using NI-PXI 6602 simultaneously,my program gives an buffer overflow error

    murali_vml,
    There are two common buffer overflow and overwrite errors.
    Overflow error -10845 occurs when the NI-DAQ driver cannot read data from the DAQ device's FIFO buffer fast enough to keep up with the acquired data as it flows to the buffer (i.e., the FIFO buffer overflows before all the original data can be read from it). This is usually due to limitations of your computer system, most commonly the result of slow processor speeds (< 200 MHz) in conjunction with PCMCIA DAQ boards, which have small FIFO buffers (e.g., the DAQCard-500). Sometimes using a DAQCard with a larger FIFO can solve the problem, but a better solution is to lower the acquisition rate or move to a faster system. Another cause of the -10845 error could be due to an interrupt-driven
    acquisition. For example, PCMCIA bus does not support Direct Memory Access (DMA). If the system is tied up processing another interrupt (like performing a screen refresh or responding to a mouse movement) when it is time to move data from the board, then that data may get overwritten.
    Overwrite error -10846 occurs when the data in the software buffer that you created for an analog input operation gets overwritten by new data before you can retrieve the existing data from the buffer. This problem can be solved by adjusting the parameters of your data acquisition, such as the lowering the scan rate, increasing the buffer size, and/or increasing the number of scans to read from the buffer on each buffer read. Additionally, performing less processing in the loop can help avoid the -10846 error.
    See the NI-DAQ Function Reference Manual for a listing of all NI-DAQ error codes.
    Have a great day.

  • Please help: Blu-ray error - file error - video buffer underflows

    Hi all,
    Just got a new video editing system and Blu-ray burner and was very excited to test out Blu-ray burning. Unfortunately I keep getting the following error whilst burning my timeline:
    blu-ray file error: file already exists - code 6 note: video buffer underflows
    The timeline consists of just one AVC video track and an ac3 track.
    Any help would be greatly appreciated!
    Cheers
    Ben

    Hi Jeff,
    Thanks for the input but none of those solutions worked. Tried renaming the project but to no avail. I am using Vista 64bit so that MSXML solution is irrelevant too.
    Interestingly I hit a buffer underlflow problem with Vegas DVD Architect 5.0 when I make a project with non transcodable elements. I literally have no idea why I am having these problems, but its pretty upsetting that I bought this whole new system, including Vegas and CS4 just for video, and I cant create a Blu-ray disc with either software!
    Cheers
    Ben

  • Flex Log Buffer Overflow Error

    Hello,
    We are running SunOne Server 6 SP4 on Solaris 2.8.
    We have a site that has numerous URL Forwards that all work. We added another one today and when you try and go to that one we get the following error in the error log:
    flex log buffer overflow- greater than 4096 characters
    Any help on what this means and how to fix it?
    thanks!!

    We found the problem.
    We had a recursive URL call.
    example: what not to do when setting up URL forwards.
    URL Forward /emp directory to /emp/some_file

Maybe you are looking for