Execute a xquery in XML file ith Size Limit.

Hi there,
I have the following XML file:
<Fuzzy>
<Rule>
<rule_ID>1</rule_ID>
<event>insert</event>
<happen>after</happen>
<condaction>collection('test.dbxml')/Bookstore/Book</condaction>
</Rule>
</Fuzzy>
I use the following code to execute the xquery in the TAG <condaction>:
String Query = "collection('test.dbxml')/Fuzzy/Rule/condaction/text()";
XmlQueryExpression ue = myManager.prepare(Query, context);
XmlResults results = ue.execute(context);
while(results.hasNext()) {
System.out.println("==================================");
String test = results.next().asString();
System.out.println(test);
XmlQueryExpression e = myManager.prepare(test, context);
XmlResults results1 = e.execute(context);
while(results1.hasNext()) {
System.out.println("==================================");
System.out.println(results1.next().asString());
The above execute the xquery and provides me the result. But the same code has problems when I use the below Xquery which has a longer Xquery length. Is there any limit on the size of xquery ?
<Fuzzy>
<Rule>
<rule_ID>1</rule_ID>
<event>insert</event>
<happen>af ter</happen>
<condaction>if(collection('test.dbxml')/Bookstore/Book/book_ID gt 0 and collection('test.dbxml')/Bookstore/Book/price lt 20) then insert nodes <b4>inserted child</b4> after
collection('test.dbxml')/Bookstore/Book/title else insert nodes <b4>inserted child</b4> after collection('test.dbxml')/Bookstore/Book</condaction>
</Rule>
</Fuzzy>
The problem I identify is that the 'test' variable only prints the part of the xquery present in the tag:
================================
if(collection('test.dbxml')/Bookstore/Book/book_ID gt 0 and collection('test.dbxml')/Bookstore/Book/price lt 20) then insert nodes
Please help me to identify if I am wrong or if there are any limitations that is causing this problem.
Thanks.

FYI..
XML has a special set of characters that cannot be used in normal XML strings. These characters are:
<ol><li>& - &amp; </li>
<li>&lt; - &lt; </li>
<li>&gt; - &gt; </li>
<li>" - " </li>
<li>' - ' </li>
</ol>
I replaced the above ones in my XML Tag that has xquery and it worked !!

Similar Messages

  • [svn:fx-trunk] 14083: Removed svn:executable property from some . xml files in trunk.

    Revision: 14083
    Revision: 14083
    Author:   [email protected]
    Date:     2010-02-09 22:48:11 -0800 (Tue, 09 Feb 2010)
    Log Message:
    Removed svn:executable property from some .xml files in trunk.
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: None
    Tests run: ant checkintests
    Is noteworthy for integration: No
    Property Changed:
        flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/LiteralVectorNode.java
        flex/sdk/trunk/modules/asc/src/localized_strings/CS/ErrorConstants.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/CS/Lint_Warnings.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/NL/ErrorConstants.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/NL/Lint_Warnings.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/PL/ErrorConstants.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/PL/Lint_Warnings.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/PT/ErrorConstants.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/PT/Lint_Warnings.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/RU/ErrorConstants.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/RU/Lint_Warnings.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/SV/ErrorConstants.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/SV/Lint_Warnings.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/TR/ErrorConstants.xml
        flex/sdk/trunk/modules/asc/src/localized_strings/TR/Lint_Warnings.xml

  • Try to do my first XML Schema in SQL Server 2012 Mangement Studio(SSMS2012)-How to execute the xsd and xml files in SSMS2012?

    Hi all,
    I learmed the basic stuff of XML, DTD, DOM, etc. long time ago. Now, I came back to resume my XML journey and try to learn the XML Schemas, XPath and XQuery. I have Microsoft SQL Server 2012 Management Studio (SSMS2012) in our computer network. From
    Page 221 of the old Book "Beginning XML 2nd Edition" written by David Hunter, et.al., (published by Wrox), I copied the name5.xsd and name5.xml :
    <?xml version="1.0"?>
    <schema xmlns=http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.wrox.com/name" xmlns:target="http://www.wrox.com/name"
    elementFormDefault="qualified">
    <element name="name">
    <complexType>
    <sequence>
    <element name="first" type="string"/>
    <element name="middle" type="string"/>
    <element name="last" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    <?xml version="1.0"?>
    <name
    xmlns=http://www.wrox.com/name"
    xmlns:xsi="http://www.wrox.org/2001XMLSchema-instance"
    xsi:schemaLocation="http://www.wrox.com/name name5.xsd"
    title="Mr.">
    <first>John</first>
    <middle>Frizgerald</middle>
    <last>Doe</last>
    </name>
    How can I execute these two files in my SSMS2012 for doing my first XML Schema trial?
    Please kindly help, advise and respond.
    Thanks in advance,
    Scott Chang

    Hi Eric Zhang, Thanks for your nice response.
    1) I saw the CREATE XML SCHEMA COLLECTION (Transact-SQL) and tried  its first example "Create XML schema collection in the database" in my SQL Server 2012 Management Studio (SSMS2012):
    -- Create a sample database in which to load the XML schema collection.
    -- Copied this set of code stsments from Microsoft Library (ms176009)
    -- ColesMS12_20a.sql (saved in C:/Documents/SQL Server Management Studio)
    -- 19 March 2015 1145 AM
    CREATE DATABASE SampleDB
    GO
    USE SampleDB
    GO
    CREATE XML SCHEMA COLLECTION ManuInstructionsSchemaCollection AS
    N'<?xml version="1.0" encoding="UTF-16"?>
    <xsd:schema targetNamespace="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
    xmlns ="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
    <xsd:complexType name="StepType" mixed="true" >
    <xsd:choice minOccurs="0" maxOccurs="unbounded" >
    <xsd:element name="tool" type="xsd:string" />
    <xsd:element name="material" type="xsd:string" />
    <xsd:element name="blueprint" type="xsd:string" />
    <xsd:element name="specs" type="xsd:string" />
    <xsd:element name="diag" type="xsd:string" />
    </xsd:choice>
    </xsd:complexType>
    <xsd:element name="root">
    <xsd:complexType mixed="true">
    <xsd:sequence>
    <xsd:element name="Location" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType mixed="true">
    <xsd:sequence>
    <xsd:element name="step" type="StepType" minOccurs="1" maxOccurs="unbounded" />
    </xsd:sequence>
    <xsd:attribute name="LocationID" type="xsd:integer" use="required"/>
    <xsd:attribute name="SetupHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="MachineHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="LaborHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="LotSize" type="xsd:decimal" use="optional"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>' ;
    GO
    -- Verify - list of collections in the database.
    select *
    from sys.xml_schema_collections
    -- Verify - list of namespaces in the database.
    select name
    from sys.xml_schema_namespaces
    -- Use it. Create a typed xml variable. Note collection name specified.
    DECLARE @x xml (ManuInstructionsSchemaCollection)
    GO
    --Or create a typed xml column.
    CREATE TABLE T (
    i int primary key,
    x xml (ManuInstructionsSchemaCollection))
    GO
    -- ////The following code statements are not used in order to create SampleDB
    -- Clean up
    ---DROP TABLE T
    ---GO
    ---DROP XML SCHEMA COLLECTION ManuInstructionsSchemaCollection
    ---Go
    ---USE Master
    ---GO
    ---DROP DATABASE SampleDB
    It worked and I got the following results:
    1 4 NULL sys 2009-04-13 12:59:13.390 2012-02-10 20:16:02.097
    65536 1 NULL ManuInstructionsSchemaCollection 2015-03-19 11:47:17.660 2015-03-19 11:47:17.660
    http://www.w3.org/2001/XMLSchema
    http://schemas.microsoft.com/sqlserver/2004/sqltypes
    http://www.w3.org/XML/1998/namespace
    http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions
    But, I don't undertand (i) what SCHEMA COECTION is, (ii) what <xsd:schema targetNamespace=.....</xsd:complexType> are, (iii) How I can specify my "project specific" schema in the Microsoft SCHEMA COLLECTION to check my xml file.
    2) I dived in the XQuery programmimng in SSMS2012 in the last few weeks. I used the examles of Ad-Hoc XML File Query by Seth Delconte (in
    httpS://www.simple-talk.com/content/print.aspx?article=1756) in my SSMS2012. They worked. But I don't understand the (i) Importing XML data using a function, (ii) Using the XQuery contans()
    function to find substrings, (iii)Efficiency comparisons in the article.
    Please kindly help me in enlightening me to resolve the difficulties listed in 1) and 2).
    Thanks,
    Scott Chang

  • SQL Server 2008 XML Datatype variable size limit

    Can you please let me know the size limit for XML Data type variable in SQL Server 2008?
    I have read some where that the XML data type holds up to 2GB size. But, its not the case.
    We have defined a variable with XML data type and assigning the value by using SELECT statement FOR XML AUTO with in CTE and assigning the outout of CTE to this XML type variable. 
    When we limit the rows to 64 which has a length of 43370(used cast(@XMLvariable AS varchar(max)), the variable returns the XML. However, if i increase the rows from 64 to 65 which is length of 44048, then the variable returns with Blank value.
    Is there any LENGTH limit of the XML data type?
    Thanks in advance!!

    Hello,
    See MSDN xml (Transact-SQL), the size limit is 2 GB and it is working. If your XML data will be truncated, then because you are doing something wrong; but without knowing table design
    (DDL) and your query it's difficult to give you further assistance; so please provide more details.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Cap file Components size limit ( ? )

    Hello,
    I'm wondering if there is a limitation on the Cap file internal components size.
    as specified in the JVM Spec from SUN, a cap file consists on several elements (byte sequences) : Header.cap , Class.cap, StaticField.cap, etc.
    Does a component have a size limit ?
    I'm asking this question because I'm facing serious problem when loading Applets on Gemplus SIM cards(GemWpressoV3 ) : the load process interrupts sudenly and the card responds with 6F00 !!
    For info, the Method.cap components is 11748 bytes !!
    Thank you for your Help and Info
    Kartagos

    here is a complete description of the Cap I can't load :
        Header.cap (29 Bytes)
        Directory.cap (34 Bytes)
        Import.cap (62 Bytes)
        Applet.cap (23 Bytes)
        Class.cap (94 Bytes)
        Method.cap (8484 Bytes)
        StaticField.cap (6312 Bytes)
        ConstantPool.cap (925 Bytes)
        RefLocation.cap (1411 Bytes)
        Descriptor.cap (2340 Bytes)

  • File import size limit - increased for LR 3+?

    I've been using LR 1.4 for years, but lately I've been working on larger files and I'm getting "Files too large" to import... most recently with a 729.3 MB TIF. Has LR 3+ raised that limit?

    Kenschuster wrote:
    Most of my images now are at least 512 MP.
    Ken,
    Are you sure? 512MP means 512'000'000 piexels, wich results in a 1.5 GB uncompressed 8bit image. We're not talking about 512 Megabytes ....
    Beat Gossweiler
    Switzerland

  • File download size limit - 2 GB?

    I have CE560 content engines running ACNS 5.3.1. Users trying to download files over 2GB via a browser get only about 2GB of the download. There are no errors. Is there some limit? Setting I can change?

    Allan wrote:
    > I want to stream data to disk for a long period, in the format waveform data
    > type - my problem is that the data files tends to reach the limit of 2 GB.
    >
    > Is it possible to make files in LabVIEW greater than 2 GB ?
    >
    > My OS is Windows XP and the disk is NTFS formatted.
    >
    > I really appreciate your help on this one!
    If you do the writing of files yourself, e.g. using the Write File node,
    then you can go to www.openg.org and checkout the OpenG Toolkit. There
    should be a link from
    http://www.openg.org/tiki/tiki-index.php?page=OpenG+Toolkit to the
    sourceforge page where you can download the entire Toolkit or portions
    thereof. You are interested in the Large File IO libarary which access
    the Win32 API to handle files bigger than 2GB.
    Rol
    f Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Dynamic number of xml files with a specified max size

    Hi all,
    I'm using a custom report to generate xml files (via a ST program and a call transformation) containing
    data belonging to is-u invoices (some are much more complex and rich of data than other ones).
    I'm asked to generate the minimun number of xml files, the only limit is their maximum size (40 MB).
    How can I dynamically understand when I need to save an xml file and generate the next one if the
    size is only readable after the transformation,as far as I know?
    Thanks a lot in advance for your ideas.
    Angelo

    My problem is that different users may be loading different files.
    As there may be many simultaneous users and the xml document nodes do not get edited in any way, I only want to have one copy of each file in memory .... hence the application scope.
    If I make the var name fixed then a user loading xml2.xml would overwrite any previous file xml1.xml or whatever.
    I could switch to session scope but that would load possibly hundreds of copies of any given file at any given time and the files are not small :-(
    Keith

  • Download XMl file from SFTP: performance issue

    Hi All,
    I am downloading an XML file of size almost 15-20 MB from an SFTP using winSCP.
    A C# code is written in SSIS script component which loops the remote directory to find the recent file then it downloads it. This process is taking almost 20 minutes to run in SSIS.
    Could anyone please suggest me the optimized solution.
    few keynotes: 1> on SFTP, there will be always more number of files, say 50-60.
                         2> file size may grow with time
                         3> comparing filename to find latest file because filename is suffixed with timestamp e.g. filename_YYYYMMDD.xml
    below is my C# code used in script component
    public void Main()
    string hostName = (string)Dts.Variables["HostName"].Value;
    string userName = (string)Dts.Variables["UserName"].Value;
    string password = (string)Dts.Variables["Password"].Value;
    string sshHostKeyFingerprint = (string)Dts.Variables["SshHostKeyFingerprint"].Value;
    string winscpexecutablePath = (string)Dts.Variables["winscpExecutablePath"].Value;
    string localOutPath = (string)Dts.Variables["User::localOutPath"].Value;
    string remoteDirectory = (string)Dts.Variables["User::ftpRemoteDirectory"].Value;
    string latestFileName = null;
    List<DateTime> fileDate = new List<DateTime>();
    Dictionary<DateTime, string> dicfiledate = new Dictionary<DateTime, string>();
    // Setup session options
    SessionOptions sessionOptions = new SessionOptions
    Protocol = Protocol.Sftp,
    HostName = hostName,
    UserName = userName,
    Password = password,
    SshHostKeyFingerprint = sshHostKeyFingerprint
    try
    using (Session session = new Session())
    session.ExecutablePath = winscpexecutablePath;
    session.Open(sessionOptions);
    RemoteDirectoryInfo directory = session.ListDirectory(remoteDirectory);
    RemoteFileInfo[] fileInfo = new RemoteFileInfo[directory.Files.Count];
    if (fileInfo.Length <= 0)
    Dts.Variables["User::isFileExist"].Value = false;
    else
    Dts.Variables["User::isFileExist"].Value = true;
    List<string> lstFileNames = new List<string>();
    for (int i = 0; i < directory.Files.Count; i++)
    lstFileNames.Add(directory.Files[i].Name);
    Dictionary<DateTime, int> dictFinal = new Dictionary<DateTime, int>();
    for (int i = 0; i < lstFileNames.Count; i++)
    if (lstFileNames[i].StartsWith("metrics_"))
    int year = Convert.ToInt32(lstFileNames[i].Substring(8, 4));
    int month = Convert.ToInt32(lstFileNames[i].Substring(12, 2));
    int date = Convert.ToInt32(lstFileNames[i].Substring(14, 2));
    dictFinal.Add(new DateTime(year, month, date), i);
    var sortedDateTime = dictFinal.Keys.OrderByDescending(x => x);
    int latestFileIndex = dictFinal[Convert.ToDateTime(sortedDateTime.First())];
    latestFileName = lstFileNames[latestFileIndex];
    // files transfer mode
    TransferOptions transferOptions = new TransferOptions();
    transferOptions.TransferMode = TransferMode.Binary;
    TransferOperationResult transferResult;
    transferResult = session.GetFiles(remoteDirectory + latestFileName, @"" + localOutPath + @"\", false, transferOptions);
    transferResult.Check();
    // Print results
    bool fireAgain = false;
    foreach (TransferEventArgs transfer in transferResult.Transfers)
    Dts.Events.FireInformation(0, null,
    string.Format("Download of {0} succeeded", transfer.FileName),
    null, 0, ref fireAgain);
    Dts.TaskResult = (int)DTSExecResult.Success;
    catch (Exception e)
    Dts.Events.FireError(0, null,
    string.Format("Error when using WinSCP to Download files: {0}", e),
    null, 0);
    Dts.TaskResult = (int)DTSExecResult.Failure;

    Hi Rahul,
    Is it possible for you to get the latest file by comparing the CreationTime of these files other than comparing the file names? If so, you can try the code in Reza’s blog:
    http://www.rad.pasfu.com/index.php?/archives/30-Find-Last-Created-File-in-Special-Directory-SSIS.html 
    Alternatively, maybe you can try a free third party SFTP Task available on the CodePlex:
    http://ssissftp.codeplex.com/ 
    Regards,
    Mike Yin
    TechNet Community Support

  • Use parameter to define location of xml-file

    Hi,
    here is a question about importing data from a xml-file using the xfa.host.importdata
    A tool we use generates a copy of a 'template'-pdf an put it into a unique folder. This unique folder will contain:
    (1) a Batch-file
    (2) a fillable, certified, reader-enabled pdf
    (3) a xml-file containing data for the pdf
    The batchfile will run a command 'start iexplore.exe file://C:/Doc.pdf?Address="C:/Doc.xml"
    So, the Internet Explorer will be started, opens the local PDF and creates a parameter with the location of the xml-file.
    So, now is my question how to make it work that in the DocReady-event the command xfa.host.importdata(); will be executed pointing to the xml-file. It should be like xfa.host.importdata("C:/Doc.xml");
    If I put the command in the click-event of a button, it works fine, but I need help with setting up that command using the parameter.
    Thank in advance!
    Erik

    You will not be able to automate using script the reading of a data file. This is deemed a security risk (as the user is not aware that this iis happening) and as such the user must pick the file.
    There is another way though. There is an xml format supported by XFA forms called XML Data Package(XDP). This format keeps the data in teh same way as the xml file but allows a couple of goodies in it. Like the template that was used to create the file. If you open your PDF file and save the data out in that xdp format, then open the file in a text editor you will see a reference to the template that was used to load it. Now if you double click the xdp file then it will open the data file, find the reference to the template and merge the data and template together for you. This is not a security risk because the user casued teh data file to open. Note that this will not work on machines that have Designer on it because the XDP extension is registered with Designer and not Acrobat/Reader. If you change that association in Windows then it will work fine.
    So my suggested solution is to make your data files xdp files and add the reference to the template that you want to use and have the user launch the xdp file and you shoudl be able to accomplish what you asked for.
    Hope that helps
    Paul

  • How to import an XML file

    Hi guys
    I want to import an XML file in the physical layer of BI administration tool; after i need to import some oracle table in order to define some relations between thw oracle tabel and the xml file.
    What are the steps that i need to follow/execute to import this xml file in my physical layer?
    thanks in advance
    best reguards

    Hi
    If you have paint rpd, then just refer that.. .
    Normally we import xml db by clicking File > Import > From database.
    And select Connection Type as XML
    for URL, click on browse and navigate to the path where your xml database is located... and import...

  • Reading  huge xml files in OSB11gR1(11.1.1.6.0)

    Hi,
    I want to read a huge xml file of size 1GB in OSB(11.1.1.6.0)?
    I will be creating a (JCA)file adapter in jdeveloper and importing artifacts to OSB.
    Please let me know the maximum file size that could be handled in OSB?
    Thanks in advance.
    Regards,
    Suresh

    Depends on what you intend to do after reading the file.
    Do you want to parse the file contents and may be do some transformation? Or do you just have to move the file from one place to another for ex. reading from local system and moving to a remote system using FTP?
    If you just have to move the file, I would suggest using JCA File/FTP adapter's Move operation.
    If you have to parse and process the file contents within OSB, then it may be possible depending on the file type and what logic you need to implement. For ex. for very large CSV files you can use JCA File Adapter batching to read a few records at a time.

  • Unmarshal Exception on big XML files

    First, sorry for my english.
    I have a problem using a unmarshal method. I�m trying to unmarshal a XML file which size is almost 4.1Mb. When I do that an Unmarshal Exception is thrown. But if I broke the file in little parts (0.5Mb each) the unmarshal method works perfectly for all those little XML files. Is there any body that knows what is happening?
    Tanks.

    I don't have any solution. But I can remenber having already seen someone speaking about this problem on this forum. Try to find his thread which a search with keywords as XML, Exception, big file ... You'll perhaps find it. This subject was discussed a few weeks ago.

  • Problem with parsing large xml files

    Hello All,
    I am parsing a large xml file of 20MB and I use DocumentBuilder.parse(File). This method works for small xml files with size less than 20MB but the application hangs and doesn't through any error message when parsing 20MB xml files. Please let me know what I have to do at this point ?
    Thanks & Regards,
    Kumar.

    Well... i can't agree.
    If you have such structure:
    <task>
      <task/>
      <task>
         <task>
            <task/>
         </task>
         <task/>
      </task>
    </task>
    ...you may always keep stack of tasks (at startElement push to top, and at endElement pop), so at every leaf of tree you will have all parents of that leaf.
    for such structure:
    <task id="1" parent="0"/>
    <task id="2" parent="1"/>
    <task id="3" parent="1"/>
    <task id="4" parent="2"/>
    <task id="5" parent="3"/>
    ...it will be much faster to go thro document by sax several times to build tree of tasks, than to load all document into memory...

  • 3d files/ size limit in CS5?

    Anyone know if theres a 3d file quantity / size limit within a photoshop document? What would any limit be dependant on, e.g, VRAM?
    Running Photoshop 64bit Cs5 Extended, all updates, on a dual xeon, 12gb ram, 64bit win 7, NVidia Quadro FX 3800 (1gb), Raptor scratch disk with 50gb space, used as a dedicated scratch disk. PS settings are set to alocate over 9gb ram to PS, GPU Open GL settings enabled and set to Normal, 3d settings allocate 100% VRAM (990mb) and rendering set to Open GL. You'd expect this to perform admirably and handle most tasks.
    Background:
    Creating a PSD website design file with 3 x 3d files embedded. One 'video' animation file linked and a few smart objects (photos) and the rest is shapes and text with a few mask etc. Nothing unusual other than maybe the vidoe and 3d files. The file size is 500mb, which isnt unusual as I've worked on several 800mb files at the same time all open in the same workspace. PC handles that without any problems.
    Introducing the 3d files and video seems to have hit an error or a limit of some sort but I cant seem to pinpoint whats causing it or how to resolve it.
    Problem:
    I have the one 500mb file I've been working on, open. I try to open any ONE file or create a new one and it says the following error. "Could not complete the command because too many files were selected for opening at once". I've tried with 3 files, other PSD files, JPEGs, anything that can be opened in PS. All with the same message. Only one PSD file open, only trying to opne one more file or create a new file from scratch.
    I've also had a similar error "Could not complete your request because there are too many files open. Try closing some windows & try again". Have re-booted and only opened PS and still the same errors.
    Tried removing the video file and saving a copy. That doesnt work. Removed some of th 3 files and saved a copy and then it sometimes allows me to open more files. Tried leaving the 3d files in and reducing lighting (no textures anyway) and rendering without ray tracing, still no effect. Tried rasterising the files and it allowed more files to be opened. I'm working across a network so tried using local files which made no difference. Only thing that seems to make a difference is removing or rasterising some of the the 3d files.
    Anyone had similar problems on what seems to be a limit either on quantity of 3d files, or maybe complexity limit, or something else to do with 3d files limits? Anyone know of upgrades that might help? I've checked free ram and thats at 7gb, using about 10gb swap file. I've opened 5 documents at the sam time of over 700mb each, and its not caused problems, so I can only think the limit is with the GPU with regards to 3d. Cant get that any higher than 990mb, which I'd assume would be enough anyway if that was the problem. I've palyed about with preferences to adjust the 3d settings to lower but no use.
    Anyone any idea whats limiting it and causing it to give the error message above? Is it even a PS5 limit or a win 7 64bit limit?
    Any ideas greatly appreciated. Thanks all.

    Thanks for your comments Mylenium, I originally thought it might be VRAM, but at 1gb (still quite an acceptable size from what I can tell - I'd expect more than 3 x 3d files for that) I originally dismissed it as the complexity of the files seemed quite low for it to be this. I'm still not completely convinced its the VRAM though because of the error message it gives, and have tried it on more complex 3d models and using more of them and it works fine on those. Seems odd about not letting me create a new document too. Would like the money get a 6gb card but a bit out of the budget range at the moment.
    Do you know of a way to "optimise" 3d files so they take up less VRAM, for example reducing any unwanted textures, materials, vertices or faces within PS in a similar fashion to how illustrator can reduce the complexity/ number of shapes/ points etc? Cant ask the client as they dont have the time or I'd do this . Does rendering quality make a difference, or changing to a smart object? Doesnt seem to from what I've tried.
    Re: using a dedicated 3d program, I'd be a bit reluctant to lose the ability to rotate / edit/ draw onto/ light etc objects within Photoshop now that I have a taste for it and go back to just using 3d renderings, otherwise I'd go down the route as suggested for a dedicated 3d package. Thanks for the suggestion though.

Maybe you are looking for

  • How to populate data in fields from the same cube

    HI Gurs, Need some help. I have a cube it has 11 key figures . Data for 7 of those is coming from another cube for rest of the 4 we need to calculate from two of those 7 fields. e.g. Field 1= Field2(First Cube) - Field3(FirstCube) Field4= Field5(Firs

  • Problem on Installation of oracle on Linux............

    I am trying to install oracle on Redhat Linux 9.0 With the kernal version of 2.4 but installation is Abounded at 0% and not carrying forward at all, I think some Of the parameter should be set on “.bash_profile” Please tell me all the parameters shou

  • Lack of World or Non-English language films and search filter in Australia

    iTunes Australia doesn't have a search set up for World or Non-English language films in Australia whereas it does in US. Please fix and please also include more titles - very limited to the point of embarrassing Apple...

  • Retrieving imported AVCHD files from Final Cut Pro X

    Hi there, does anyone know how to retrieve raw AVCHD clips from Final Cut Pro X, after they have been imported? I shot some footage on my GH2 and it DID import from the camera into FCP X, but it's not running smooth at all. I heard that it's better t

  • How to set tabbing order in Acrobat X Pro

    I cannot find any instructions for manually setting tabbing order in Acrobat X Pro.  It does not work the same as earlier versions of Acrobat Pro.  Any idea as to where I can go for instructions for X Pro?