AutoCAD 2013 :: Memory Management When Creating Huge Arrays
Aug 8, 2012
I am trying to make a huge array of circles (4000 x 12000 or so). I work in microfabrication and need this to make a mask for lithography of a membrane. What is the best practice to minimize the memory usage? I.e. arrays, blocks, groups? I tried making an array of circles one row and 4000 columns then making that a block. Then repeating that block down for multiple rows, maybe 100, then making that a block. Repeating this until I have thousands of them. Is this the best way? It bogs down and gets incredible slow which I am hoping to avoid. I realize that it is inevitable that it will get slow with these huge numbers.
It was already a problem with CS4 but it's worse with CS5. Under CS4 it was regularly necessary to me to relaunch the appli to empty the memory (even without image, after use, CS4 indicated n Giga in the window of the processes)The same phenomenon with CS5, but moreover, if I have some one about ten images in display, in the course of processings the functions spend in break the time to put in memory (swap) of the data on the hard disk... In the course of this type of processing I exceed hardly 5 Go...For information I work under Vista 64 bits - 24 Go of lively memory (17 available Go for Photoshop), processor Intel I7 930It seems to me that there is no reason that Photoshop keeps(guards) in memory history after closure(lock) of a photo!
How does X5 really handle memory? I have 2 GB RAM and with a clean boot I have 1.5 GB physical memory free. But, when I open X5 and a 330 MB CDR file, the remaining physical memory shows 1 GB while it additionally uses 750 MB of VM on the hard disk.
It doesn't sound very clever to me because I wait and watch my hard drive led blinking at 225 BPM : What should I do to force X5 use the available RAM prior to hard disk? (XP x64sp2)
Civil 3D 2014.I want to attach attribute information and/or metadata to my array. Is this possible?
If it is possible, I would also like to be able to explode my array and have my array items acquire the attribute information for exporting later. Can this be done as well?
I'm wondering how to create huge arrays in the best way. I have a circle and want it thousands of columns and tens of thousands of rows. Anytime I start to make this AutoCAD gets extremely slow and I was told that turning some into blocks would be best.
I am currently drawing a lithography mask in Autocad 2013 student version, where I created a lot of arrays. My problem is that I can't seem to align these structures. Some of them need to be aligned along the y-axis and some along the x-axis.
Is it a proper way of copy some details or layout from DXF files to CAD file? I received multiple(10 files, 2.5mb average) DXF file from source, and they need to input some layout of it to the base CAD Drawing file.My CAD file became huge (around 40mb) when I copy some of the layout from DXF. Do I need to save DXF file into CAD file before I copy some of their layout to get a lower file? I need to send the CAD file to the source for their copy.
Last month, I was drafting a simple 2d floor plans for my school assignment but the cad file size became huge and started to crash. After consulting my lecturers, I did a few things to attempt to solve the overly huge file size.
1. Redrew the drawing from scratch
2. Purged both old & new drawings
3.Auditted both old & new drawings
4. Saved each floor plan as a separate drawing so as to reduce file size
However, the same problem occurred and the new drawings also became too huge & slow to work with.
So, I was photographing the moon tonight and shooting in my usual format - RAW. I took the photos into Lightroom and selected the one I liked best. After tweaking the contrast and clarity a little, I decided that I wanted to change around where the moon way positioned - in a way crop wouldn't allow. So I turned to "edit-in" and then selected Photoshop CS6 from the options. All was fine, Photoshop appeared and I began editing. I decided that I wanted to place my moon in a completely different location, so to do this I decided I'd select the area around the moon, copy it, paint over it, then paste the moon back onto a new layer and paste it exactly where I wanted it. I think this is why I'm having issues. All was well and it was time to save. I hit save...suddenly it was taken ages to save. I'm talking at least 2 minutes of save time. Realising that was odd, I decided to check out how big the new file was...nearly 1GB big as a TIFF.
I don't like saving my photos as anything other than TIFFs, but I don't have unlimited storage space.
Why was this file so huge after editing in Photoshop, how do I avoid it/what did I do wrong?
I was getting this error on one of my users machines, inventor 2013 vault add in could not find the data management services
I uninstall Vault workgroup 2013, Inventor 2013, re install, and re install add ins, worked for half a day, and just got the same error again,
it seems As Inventor looses the add in, what was intersiting it gave an error about some unerlaying error after disgarding that, the add in doesnt work anymore.
I also cant copy design from vault on the same machine, all Inventor related files cant be copied, but dwg files can.
I get the feeling its an Inventor issue, my last resort is a clean install.
I'm working with point clouds. is there any physical memory limitation working with autocad. because i had 32gb ram but didn't see over 4 gb for usage by autocad. my computer's os is win7 x64.
I have just produced .dxf files from .shp files using Surpac. The problem is that the final .dxf's are that huge in terms of memory that is really dificult to open the .dxf with any version of AutoCAD
We recently moved from Inventor 2010 to 2013. Since then we have been having alot of lag problems. One major problem we have found that is giving us lag is our RAM usage. Inventor continually steals more and more ram until its starts to lag out. When I open a large assembly inventor goes from useing 1.2 GB to 4 GB of ram. When I close the assembly the RAM usage stays at 4 GB. If I open another assembly it just builds onto that and can go up to 6 GB before it starts lagging badly. Closing inventor dumps the physical memory.
System: windows enterprise (no service pack) 7-64 bit intel(r) Xeon(r) CPU (2 processors) 9 GB RAM Nvidia Quadro FX 4800 graphics card
I have CAD2014 installed intalled everything has been great until last week when I got an error that I had low autocad memory. I still have 127GB available on my PC. Since I received this errow I have noticed that when moving large amounts of items on a drawing, there is a big delay in the move.
read that color management pdf by gennady petrov and tried a few things he wrote. I turned off color management in the printer driver, chose corel to manage color, and the image default profile sRGBxxxxx. picture was way dark and ugly. tried several other profiles and same dark picture. hmm that did not work so well.
went back to the printer driver and disabled no color management, and chose the profile Adobe RGB. still kept corel as manager and chose A RGB as the profile and the print looked spot on. Have not had problems printing from corel because I have come up with my own system, but was quite surprised at the result from turning off color management in the printer driver.
I was placing final touches on paper space viewports (changing transparency settings etc), after wrapping that up, saved. Then tried to Publish. That's where things went downhill, drawing/publishing froze, forced to restart, now the drawing only loads to ~68 - 75% and hangs / freezes. Eventually, I get a message box stating that AutoCAD physical memory low, continuing will result in data loss. Task Manager claims AutoCAD is running @ ~98% (650Mb).
I can upload the drawing to AutoCAD WS and open it on my iPhone/iPad, but the 3D viewports are limited in detail.
Tried opening on a MAC and the same thing happens. Tried clearing the Cachemax/cachemaxtotal, still nothing...
I open the file to the model. My RAM usage is about 33%. Next, I open the first layout and my usage climbs to 43%. I open the second layout and my usage climbs to 52%. I open the third layout and my usage climbs to 62%.
I can go back and view the layouts already opened marginally faster then when first opening them, and my RAM usage will not increase.
If I continue to open new layouts, my computer will spend all its RAM holding these and freeze. My computer will suspend graphical processing and be forced to run on sips of RAM until all active commands are finished. But RAM usage will never decrease.
I have been working with my Windows Task Manager open in the corner, watching this happen. This way, I can save and close the file to clear the RAM and then proceed to reload the file and continue working on my file with 34 layouts.
I do not know if it is a function of storing the UNDO functions, or just how the program is designed, but this is a problem for me.
QUESTION
Is there a way to clear the UNDO or layout memory without closing and reloading the file? I do not have to close AutoCAD - just the file.
ATTACHEMENT
The attachement is a screenshot of my Task Manager.
I started with TM, browser, and AutoCAD open (I had already started writing this post)
I opened the file to the model.
Opened up 6 layouts (you can see the bumps)
Saved (you can see the tiny rise)
Closed the file, but not AutoCAD (precipitous drop ;] )
I'm working on a small design project and creating a program in Inventor that utilizes a 2D Sketch to calculate the forces in a 2D static Bridge.... Although this is Besides the point.
In order to do what I want, I've found it will be easier to use Arrays. Unfortunately I'm having trouble passing arrays through various functions and setting them to each other.
These errors are constantly popping up
Rule Compile Errors in Bridge Stress, in Sketch Test Code.ipt
Error on Line 60 : Number of indices is less than the number of dimensions of the indexed array. Error on Line 63 : Number of indices is less than the number of dimensions of the indexed array. Error on Line 69 : Number of indices is less than the number of dimensions of the indexed array. Error on Line 174 : Number of indices is less than the number of dimensions of the indexed array. Error on Line 308 : Number of indices is less than the number of dimensions of the indexed array.
I've been trying to figure out if chaining parameters will accomplish what i'm trying to do, which is...
Imagine an elevation of a concrete pier or column showing the horizontal stirrup cage around the vertical reinforcement. If like to be able to use one parameter to control the space between elements (cage c/c) and another to control the total length of the array (height of column or # of cages). Then the actual number of elements would be total length/spacing.
Also, arrays alway seem to have fixed spacing, anyway to make the parameter control the spacing of the array?
I am into tracking solar array's. So designing for high winds is paramount. I wonder if Inventor will have a package for analysis of wind loads. It is a different kind of FEA. Call it a 3-D distributed load.
I have been attempting to pass a string array contained in a variant to the AutoCAD method AcadPlot.SetLayoutsToPlot. I am using late binding without a Interop assembly because we have several versions of AutoCAD in this company and I would like to support all of them from the same code base.The method wants a variant that contains a string array passed byref. The Microsoft documentation on COM interop from VB.NET makes it sound like the compiler will marshal it correctly by default, but it always throws a COMException (Exception from HRESULT: 0x80070057 (E_INVALIDARG)).
The stack trace shows it is trying to anyway:
StackTrace: at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
But no matter how I code it I cannot get this variant array passed to AutoCAD.I have tried:
Imports System.Runtime.InteropServices ' VB default marshalling Dim layoutarr = New Object() {"Layout1"} doc.Plot.SetLayoutsToPlot(layoutarr) ' using a VariantWrapper Dim layoutarr = New Object() {"Layout1"} Dim wrapper As New System.Runtime.InteropServices.VariantWrapper(layoutarr) doc.Plot.SetLayoutsToPlot(wrapper) [code]...
As intensively as AutoCAD ActiveX uses variant arrays, I know this problem is going to come up again and again for me as I try to migrate code over to .NET.
I am using corel x3 a long time but never, never had this kind of problem. When i work in corel enviorenment after i have finished my work i go to save my work. But then is the problem It Saves the file with Large Memory on it. let's say if the file normally would be 200 K, now it saves with 3 MB. And if i import some other files in my work then the saved file will be even bigger. If i Delete the files that were imported The Saved File will be Again the same SIZE ! Even if a take one part of the file, let's say if i import only one small text and put it in another file and save it like that, the saved file will be 2 MB. I had a lots of problems, i had saved files on this way with 23-24 MB and when i open them it takes like forever. When you look that file in corel it has nohing in it, absolutely nothing that should be 24 MB. But all of my important work is in that files how to make all things back to normal again,
I do have problem with my newly installed CorelDraw X5. Before X5 we used Corel 12 in our company.
I have project file (150 MB) with lots of text, bitmaps, vectors - about 100 pages. File opens but I can't save it. I always get OUT OF MEMORY error. I even tried to divide this file into 2 smaller parts but still doesn't work.
What I noticed - Corel X5 after clean start (without opened project) takes about 80MB of RAM in task manager. When I open project usage changes from 80MB to 1,2GB. While saving it takes 1,6GB of RAM and it crashes.
To compare - Corel 12 and after opening same project file Corel 12 takes much less of memory - about 770MB and it works without problem.
I'm working on a script with an UI element. I want all values of the 2. cloumn (Rasterkeilfarbe) returned in one array and all values of the 3. column (Klischeenr.) returned in another arry.
var farben = ["black", "red", "blue", "green", "bla", "blupp"] var myName = myInput (farben); // rest of the script
I've just begun using Xara. I've used Corel before but can't see how to make pattern or arrays of objects in Xara. I'm needing to make mask templates for Watch faces, graphics mask for tire graphics etc.
Having trouble creating arrays of ceiling light fixtures in Revit 2013? It gives me this error message;
'Can't place inserts outside of hosts. These elements won't be copied'
I've adjusted all manner of settings to make sure the copies don't fall outside the limits of the host ceiling but without success. It only occurs with linear arrays on ceilings not radial arrays for ceilings or linear or radial arrays for walls?