OUT OF MEMORY?????help
hi this is unusal can anyone assit..i did 3 tracks of sampletank instruments and one vocal...total usuage time 30 seconds...i tried to save what i did and got a OUT OF MEMORY..can not save....what is this..i got 2.5 ram..i am using a new g5 2.0 dual...disk havs over 100 gigs left on it..can anyone help thank u
hi this is unusal can anyone assit..i did 3 tracks of sampletank instruments and one vocal...total usuage time 30 seconds...i tried to save what i did and got a OUT OF MEMORY..can not save....what is this..i got 2.5 ram..i am using a new g5 2.0 dual...disk havs over 100 gigs left on it..can anyone help thank u
Similar Messages
-
Oracle 9i Database installation error ORA-27102: out of memory HELP
Hello
Appologies if this post has been answered already, or if I am meant to post some data capture to show what is the issue however i am a bit unsure what I need.
I have downloaded oracle 9i for my university course as I need to have it to do some SQL and Forms building.
I have had a lot of issues but I have battled through them - however now I am stuck on this one.
I install Oracle and then the below:
Install Oracle Database 9.2.0.1.0
Personal Edition 2.80gb
General Purpose
I leave the defualt port
Set my database name
Select the location
Character set etc
then the database config assistant starts to install the new database at 46% i get the error on a pop up window :
ORA-27102: out of memory
How can I resolve this??
I am a mainframe programmer and not at all in anyway a windows whizz - please oculd someone help a dummy understand??
Again thank you all very muchYou have too few RAM on your machine, even you could successfully create an instance, it's going to slow as hell.
When you run DBCA to create database, instead of actually creating the database you could choose to dump the SQL scripts and files used for database creation to a directory. This way will give you a chance to modify pfile and reduce the SGA parameter. I believe the default SGA of instance created by DBCA is already beyond your RAM limit. -
MySQL has run out of memory ::Help needed::
::Help needed::
I've created a PHP web application in Dreamweaver, which uses a MySQL database, containing 14 tables.
On one page, I use a an SQL query to select data from 10 of the tables in the database.
However, when I try to preview the page in a browser, a PHP warning stating that the MySQL engine has run out of memory.
Is there a way of increasing the Memory Cache of the engine, or a way to optimize the performance?Is this happening locally?
If it is, try rebooting your system and see if this fixes the problem. If not then you have a problem with your code. If it works locally but not on the server, then you know it's not something in your code causing the issue, so you can confidently go to your host support and have them sort it out.
With any such situation, testing locally first is a vital debugging step.
Hope this gives you a path to follow.
Lawrence *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF
www.twitter.com/LawrenceCramer -
Database creation = ora-27102 out of memory
Hi,
I have a solaris sparc 9.5
Memory size: 16384 Megabytes
swapfile dev swaplo blocks free
/dev/dsk/c1t0d0s1 32,25 16 1068464 1068464
And when I try to create a database with the following configuration
DUMMY AREA NAME SUM(BYTES)
2 Shared Pool shared pool 603979776
3 Large Pool large pool 352321536
4 Java Pool java pool 33554432
5 Redo Log Buffer log_buffer 787456
6 Fixed SGA fixed_sga 731328
=> ora-27102 out of memory
Help me pleaseThe error is reported by Oracle during allocation of the SGA and will happen
in cases where the kernel parameter SHMMAX/SHM_MAX is not set high enough.
The SHMMAX kernel parameter decides the maximum size of a shared memory segment
that can be allocated in the system. Since Oracle implements SGA using shared
memory, this parameter should be set appropriately. The value of the SHMMAX
kernel parameter should be higher than the maximum of SGA sizes of the Oracle
instances used in the server. In cases where the SHMMAX is smaller than the SGA
size, Oracle tries to fit the entire SGA into a single shared memory segment,
which will fail, and you will see the warning message in the alert.log.
The recommended value for this parameter is 4294967295 (4 GB), or the size of
physical memory, or half the size of physical memory, depending on platform.
Setting the SHMMAX to recommended value in the kernel parameter configuration
file and rebooting the server will get rid of the warning messages. See the
platform specific Oracle installation guide for detailed information on how to
modify the SHMMAX/SHM_MAX kernel parameter.
General guidelines for SHMMAX on common platforms
(check with your vendor for maximum settings):
Platform Recommended value
Solaris/Sun 4 GB or max sga whichever is higher -
Server goes out of memory when annotating TIFF File. Help with Tiled Images
I am new to JAI and have a problem with the system going out of memory
Objective:
1)Load up a TIFF file (each approx 5- 8 MB when compressed with CCITT.6 compression)
2)Annotate image (consider it as a simple drawString with the Graphics2D object of the RenderedImage)
3)Send it to the servlet outputStream
Problem:
Server goes out of memory when 5 threads try to access it concurrently
Runtime conditions:
VM param set to -Xmx1024m
Observation
Writing the files takes a lot of time when compared to reading the files
Some more information
1)I need to do the annotating at a pre-defined specific positions on the images(ex: in the first quadrant, or may be in the second quadrant).
2)I know that using the TiledImage class its possible to load up a portion of the image and process it.
Things I need help with:
I do not know how to send the whole file back to servlet output stream after annotating a tile of the image.
If write the tiled image back to a file, or to the outputstream, it gives me only the portion of the tile I read in and watermarked, not the whole image file
I have attached the code I use when I load up the whole image
Could somebody please help with the TiledImage solution?
Thx
public void annotateFile(File file, String wText, OutputStream out, AnnotationParameter param) throws Throwable {
ImageReader imgReader = null;
ImageWriter imgWriter = null;
TiledImage in_image = null, out_image = null;
IIOMetadata metadata = null;
ImageOutputStream ios = null;
try {
Iterator readIter = ImageIO.getImageReadersBySuffix("tif");
imgReader = (ImageReader) readIter.next();
imgReader.setInput(ImageIO.createImageInputStream(file));
metadata = imgReader.getImageMetadata(0);
in_image = new TiledImage(JAI.create("fileload", file.getPath()), true);
System.out.println("Image Read!");
Annotater annotater = new Annotater(in_image);
out_image = annotater.annotate(wText, param);
Iterator writeIter = ImageIO.getImageWritersBySuffix("tif");
if (writeIter.hasNext()) {
imgWriter = (ImageWriter) writeIter.next();
ios = ImageIO.createImageOutputStream(out);
imgWriter.setOutput(ios);
ImageWriteParam iwparam = imgWriter.getDefaultWriteParam();
if (iwparam instanceof TIFFImageWriteParam) {
iwparam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT);
TIFFDirectory dir = (TIFFDirectory) out_image.getProperty("tiff_directory");
double compressionParam = dir.getFieldAsDouble(BaselineTIFFTagSet.TAG_COMPRESSION);
setTIFFCompression(iwparam, (int) compressionParam);
else {
iwparam.setCompressionMode(ImageWriteParam.MODE_COPY_FROM_METADATA);
System.out.println("Trying to write Image ....");
imgWriter.write(null, new IIOImage(out_image, null, metadata), iwparam);
System.out.println("Image written....");
finally {
if (imgWriter != null)
imgWriter.dispose();
if (imgReader != null)
imgReader.dispose();
if (ios != null) {
ios.flush();
ios.close();
}user8684061 wrote:
U are right, SGA is too large for my server.
I guess oracle set SGA automaticlly while i choose default installion , but ,why SGA would be so big? Is oracle not smart enough ?Default database configuration is going to reserve 40% of physical memory for SGA for an instance, which you as a user can always change. I don't see anything wrong with that to say Oracle is not smart.
If i don't disincrease SGA, but increase max-shm-memory, would it work?This needs support from the CPU architecture (32 bit or 64 bit) and the kernel as well. Read more about the huge pages. -
HELP! Photoshop CC 2014 Out Of Memory
I cannot for the life of me figure out what is going on here. I am running a decent rig (i7 4790k, GTX 970) yet any time I start a new project in Photoshop, I immediately receive an "Out of Memory" notification. I have posted my system information below. Any help would be greatly appreciated as I rely on Photoshop daily for my work.
Adobe Photoshop Version: 2014.2.1 20141014.r.257 2014/10/14:23:59:59 CL 987299 x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:12, Stepping:3 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, AVX, AVX2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 4000 MHz
Built-in memory: 8029 MB
Free memory: 4763 MB
Memory available to Photoshop: 7020 MB
Memory used by Photoshop: 55 %
3D Multitone Printing: Disabled.
Windows 2x UI: Disabled.
Highbeam: Enabled.
Image tile size: 1024K
Image cache levels: 3
Font Preview: Medium
TextComposer: Latin
Display: 1
Display Bounds: top=0, left=0, bottom=1080, right=1920
OpenGL Drawing: Enabled.
OpenGL Allow Old GPUs: Not Detected.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
AIFCoreInitialized=1
AIFOGLInitialized=1
OGLContextCreated=1
NumGLGPUs=1
NumCLGPUs=1
glgpu[0].GLVersion="3.0"
glgpu[0].GLMemoryMB=4095
glgpu[0].GLName="GeForce GTX 970/PCIe/SSE2"
glgpu[0].GLVendor="NVIDIA Corporation"
glgpu[0].GLVendorID=4318
glgpu[0].GLDriverVersion="9.18.13.4475"
glgpu[0].GLRectTextureSize=16384
glgpu[0].GLRenderer="GeForce GTX 970/PCIe/SSE2"
glgpu[0].GLRendererID=5058
glgpu[0].HasGLNPOTSupport=1
glgpu[0].GLDriver="nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um"
glgpu[0].GLDriverDate="20141112000000.000000-000"
glgpu[0].CanCompileProgramGLSL=1
glgpu[0].GLFrameBufferOK=1
glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="4.40 NVIDIA via Cg compiler"
glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[1638 4]
glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[4]
glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[192]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[32]
glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[32]
glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[4096]
glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[2048]
glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[124]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
clgpu[0].CLPlatformVersion="1.1"
clgpu[0].CLDeviceVersion="1.1 CUDA"
clgpu[0].CLMemoryMB=4096
clgpu[0].CLName="GeForce GTX 970"
clgpu[0].CLVendor="NVIDIA Corporation"
clgpu[0].CLVendorID=4318
clgpu[0].CLDriverVersion="344.75"
clgpu[0].CUDASupported=1
clgpu[0].CUDAVersion="6.5.30"
clgpu[0].CLBandwidth=1.43595e+011
clgpu[0].CLCompute=1440.86
License Type: Subscription
Serial number: 96040935801616734611
Application folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\
Temporary file path: C:\Users\UNC2K3\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
M:\, 931.5G, 668.6G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Required\Plug-Ins\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Plug-ins\
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2014/08/12-23:42:09 79.557478 79.557478
adbeape.dll Adobe APE 2013/02/04-09:52:32 0.1160850 0.1160850
AdbePM.dll PatchMatch 2014/09/07-21:07:38 79.558079 79.558079
AdobeLinguistic.dll Adobe Linguisitc Library 8.0.0
AdobeOwl.dll Adobe Owl 5.2.4
AdobePDFL.dll PDFL 2014/08/18-15:13:12 79.512424 79.512424
AdobePIP.dll Adobe Product Improvement Program 7.2.1.3399
AdobeXMP.dll Adobe XMP Core 2014/08/20-09:53:02 79.156797 79.156797
AdobeXMPFiles.dll Adobe XMP Files 2014/08/20-09:53:02 79.156797 79.156797
AdobeXMPScript.dll Adobe XMP Script 2014/08/20-09:53:02 79.156797 79.156797
adobe_caps.dll Adobe CAPS 8,0,0,13
AGM.dll AGM 2014/08/12-23:42:09 79.557478 79.557478
ahclient.dll AdobeHelp Dynamic Link Library 1,8,0,31
amtlib.dll AMTLib (64 Bit) 8.0.0.122212002 BuildVersion: 8.0; BuildDate: Wed Jul 30 2014 15:59:34) 1.000000
ARE.dll ARE 2014/08/12-23:42:09 79.557478 79.557478
AXE8SharedExpat.dll AXE8SharedExpat 2013/12/20-21:40:29 79.551013 79.551013
AXEDOMCore.dll AXEDOMCore 2013/12/20-21:40:29 79.551013 79.551013
Bib.dll BIB 2014/08/12-23:42:09 79.557478 79.557478
BIBUtils.dll BIBUtils 2014/08/12-23:42:09 79.557478 79.557478
boost_date_time.dll photoshopdva 8.0.0
boost_signals.dll photoshopdva 8.0.0
boost_system.dll photoshopdva 8.0.0
boost_threads.dll photoshopdva 8.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.2.6.32411 2.2.6.32411
CITThreading.dll Adobe CITThreading 2.2.6.32411 2.2.6.32411
CoolType.dll CoolType 2014/08/12-23:42:09 79.557478 79.557478
dvaaudiodevice.dll photoshopdva 8.0.0
dvacore.dll photoshopdva 8.0.0
dvamarshal.dll photoshopdva 8.0.0
dvamediatypes.dll photoshopdva 8.0.0
dvametadata.dll photoshopdva 8.0.0
dvametadataapi.dll photoshopdva 8.0.0
dvametadataui.dll photoshopdva 8.0.0
dvaplayer.dll photoshopdva 8.0.0
dvatransport.dll photoshopdva 8.0.0
dvaui.dll photoshopdva 8.0.0
dvaunittesting.dll photoshopdva 8.0.0
dynamiclink.dll photoshopdva 8.0.0
ExtendScript.dll ExtendScript 2014/01/21-23:58:55 79.551519 79.551519
icucnv40.dll International Components for Unicode 2013/02/25-15:59:15 Build gtlib_4.0.19090
icudt40.dll International Components for Unicode 2013/02/25-15:59:15 Build gtlib_4.0.19090
igestep30.dll IGES Reader 9.3.0.113
imslib.dll IMSLib DLL 7.0.0.154
JP2KLib.dll JP2KLib 2014/06/28-00:28:27 79.254012 79.254012
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libiomp5md.dll Intel(R) OpenMP* Runtime Library 5.0
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
LogSession.dll LogSession 7.2.1.3399
mediacoreif.dll photoshopdva 8.0.0
MPS.dll MPS 2014/08/18-23:43:19 79.557676 79.557676
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CC 2014 15.2.1
Plugin.dll Adobe Photoshop CC 2014 15.2.1
PlugPlugExternalObject.dll Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit) 5.0.0
PlugPlugOwl.dll Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit) 5.2.0.52
PSArt.dll Adobe Photoshop CC 2014 15.2.1
PSViews.dll Adobe Photoshop CC 2014 15.2.1
SCCore.dll ScCore 2014/01/21-23:58:55 79.551519 79.551519
ScriptUIFlex.dll ScriptUIFlex 2014/01/20-22:42:05 79.550992 79.550992
svml_dispmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
tbb.dll Intel(R) Threading Building Blocks for Windows 4, 2, 2013, 1114
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 4, 2, 2013, 1114
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 8.0.0.14 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 8.0.0.14
VulcanControl.dll Vulcan Application Control Library 5.0.0.82
VulcanMessage5.dll Vulcan Message Library 5.0.0.82
WRServices.dll WRServices Fri Mar 07 2014 15:33:10 Build 0.20204 0.20204
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 15.2.1 (2014.2.1 x001 x003)
Accented Edges 15.2.1
Adaptive Wide Angle 15.2.1
Angled Strokes 15.2.1
Average 15.2.1 (2014.2.1 x001 x003)
Bas Relief 15.2.1
BMP 15.2.1
Camera Raw 8.7
Camera Raw Filter 8.7
Chalk & Charcoal 15.2.1
Charcoal 15.2.1
Chrome 15.2.1
Cineon 15.2.1 (2014.2.1 x001 x003)
Clouds 15.2.1 (2014.2.1 x001 x003)
Collada 15.2.1 (2014.2.1 x001 x003)
Color Halftone 15.2.1
Colored Pencil 15.2.1
CompuServe GIF 15.2.1
Conté Crayon 15.2.1
Craquelure 15.2.1
Crop and Straighten Photos 15.2.1 (2014.2.1 x001 x003)
Crop and Straighten Photos Filter 15.2.1
Crosshatch 15.2.1
Crystallize 15.2.1
Cutout 15.2.1
Dark Strokes 15.2.1
De-Interlace 15.2.1
Dicom 15.2.1
Difference Clouds 15.2.1 (2014.2.1 x001 x003)
Diffuse Glow 15.2.1
Displace 15.2.1
Dry Brush 15.2.1
Eazel Acquire 15.2.1 (2014.2.1 x001 x003)
Embed Watermark 4.0
Entropy 15.2.1 (2014.2.1 x001 x003)
Export Color Lookup Tables NO VERSION
Extrude 15.2.1
FastCore Routines 15.2.1 (2014.2.1 x001 x003)
Fibers 15.2.1
Film Grain 15.2.1
Filter Gallery 15.2.1
Flash 3D 15.2.1 (2014.2.1 x001 x003)
Fresco 15.2.1
Glass 15.2.1
Glowing Edges 15.2.1
Google Earth 4 15.2.1 (2014.2.1 x001 x003)
Grain 15.2.1
Graphic Pen 15.2.1
Halftone Pattern 15.2.1
HDRMergeUI 15.2.1
HSB/HSL 15.2.1
IFF Format 15.2.1
IGES 15.2.1 (2014.2.1 x001 x003)
Ink Outlines 15.2.1
JPEG 2000 15.2.1
Kurtosis 15.2.1 (2014.2.1 x001 x003)
Lens Blur 15.2.1
Lens Correction 15.2.1
Lens Flare 15.2.1
Liquify 15.2.1
Matlab Operation 15.2.1 (2014.2.1 x001 x003)
Maximum 15.2.1 (2014.2.1 x001 x003)
Mean 15.2.1 (2014.2.1 x001 x003)
Measurement Core 15.2.1 (2014.2.1 x001 x003)
Median 15.2.1 (2014.2.1 x001 x003)
Mezzotint 15.2.1
Minimum 15.2.1 (2014.2.1 x001 x003)
MMXCore Routines 15.2.1 (2014.2.1 x001 x003)
Mosaic Tiles 15.2.1
Multiprocessor Support 15.2.1 (2014.2.1 x001 x003)
Neon Glow 15.2.1
Note Paper 15.2.1
NTSC Colors 15.2.1 (2014.2.1 x001 x003)
Ocean Ripple 15.2.1
OpenEXR 15.2.1
Paint Daubs 15.2.1
Palette Knife 15.2.1
Patchwork 15.2.1
Paths to Illustrator 15.2.1
PCX 15.2.1 (2014.2.1 x001 x003)
Photocopy 15.2.1
Photoshop 3D Engine 15.2.1 (2014.2.1 x001 x003)
Photoshop Touch 14.0
Picture Package Filter 15.2.1 (2014.2.1 x001 x003)
Pinch 15.2.1
Pixar 15.2.1 (2014.2.1 x001 x003)
Plaster 15.2.1
Plastic Wrap 15.2.1
PLY 15.2.1 (2014.2.1 x001 x003)
PNG 15.2.1
Pointillize 15.2.1
Polar Coordinates 15.2.1
Portable Bit Map 15.2.1 (2014.2.1 x001 x003)
Poster Edges 15.2.1
PRC 15.2.1 (2014.2.1 x001 x003)
Radial Blur 15.2.1
Radiance 15.2.1 (2014.2.1 x001 x003)
Range 15.2.1 (2014.2.1 x001 x003)
Read Watermark 4.0
Render Color Lookup Grid NO VERSION
Reticulation 15.2.1
Ripple 15.2.1
Rough Pastels 15.2.1
Save for Web 15.2.1
ScriptingSupport 15.2.1
Shake Reduction 15.2.1
Shear 15.2.1
Skewness 15.2.1 (2014.2.1 x001 x003)
Smart Blur 15.2.1
Smudge Stick 15.2.1
Solarize 15.2.1 (2014.2.1 x001 x003)
Spatter 15.2.1
Spherize 15.2.1
Sponge 15.2.1
Sprayed Strokes 15.2.1
Stained Glass 15.2.1
Stamp 15.2.1
Standard Deviation 15.2.1 (2014.2.1 x001 x003)
STL 15.2.1 (2014.2.1 x001 x003)
Sumi-e 15.2.1
Summation 15.2.1 (2014.2.1 x001 x003)
Targa 15.2.1
Texturizer 15.2.1
Tiles 15.2.1
Torn Edges 15.2.1
Twirl 15.2.1
U3D 15.2.1 (2014.2.1 x001 x003)
Underpainting 15.2.1
Vanishing Point 15.2.1
Variance 15.2.1 (2014.2.1 x001 x003)
Virtual Reality Modeling Language | VRML 15.2.1 (2014.2.1 x001 x003)
Water Paper 15.2.1
Watercolor 15.2.1
Wave 15.2.1
Wavefront|OBJ 15.2.1 (2014.2.1 x001 x003)
WIA Support 15.2.1 (2014.2.1 x001 x003)
Wind 15.2.1
Wireless Bitmap 15.2.1 (2014.2.1 x001 x003)
ZigZag 15.2.1
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Libraries
Adobe Color Themes
Installed TWAIN devices: NONEI cannot for the life of me figure out what is going on here. I am running a decent rig (i7 4790k, GTX 970) yet any time I start a new project in Photoshop, I immediately receive an "Out of Memory" notification. I have posted my system information below. Any help would be greatly appreciated as I rely on Photoshop daily for my work.
Adobe Photoshop Version: 2014.2.1 20141014.r.257 2014/10/14:23:59:59 CL 987299 x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:12, Stepping:3 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, AVX, AVX2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 4000 MHz
Built-in memory: 8029 MB
Free memory: 4763 MB
Memory available to Photoshop: 7020 MB
Memory used by Photoshop: 55 %
3D Multitone Printing: Disabled.
Windows 2x UI: Disabled.
Highbeam: Enabled.
Image tile size: 1024K
Image cache levels: 3
Font Preview: Medium
TextComposer: Latin
Display: 1
Display Bounds: top=0, left=0, bottom=1080, right=1920
OpenGL Drawing: Enabled.
OpenGL Allow Old GPUs: Not Detected.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
AIFCoreInitialized=1
AIFOGLInitialized=1
OGLContextCreated=1
NumGLGPUs=1
NumCLGPUs=1
glgpu[0].GLVersion="3.0"
glgpu[0].GLMemoryMB=4095
glgpu[0].GLName="GeForce GTX 970/PCIe/SSE2"
glgpu[0].GLVendor="NVIDIA Corporation"
glgpu[0].GLVendorID=4318
glgpu[0].GLDriverVersion="9.18.13.4475"
glgpu[0].GLRectTextureSize=16384
glgpu[0].GLRenderer="GeForce GTX 970/PCIe/SSE2"
glgpu[0].GLRendererID=5058
glgpu[0].HasGLNPOTSupport=1
glgpu[0].GLDriver="nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um"
glgpu[0].GLDriverDate="20141112000000.000000-000"
glgpu[0].CanCompileProgramGLSL=1
glgpu[0].GLFrameBufferOK=1
glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="4.40 NVIDIA via Cg compiler"
glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[1638 4]
glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[4]
glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[192]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[32]
glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[32]
glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[4096]
glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[2048]
glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[124]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
clgpu[0].CLPlatformVersion="1.1"
clgpu[0].CLDeviceVersion="1.1 CUDA"
clgpu[0].CLMemoryMB=4096
clgpu[0].CLName="GeForce GTX 970"
clgpu[0].CLVendor="NVIDIA Corporation"
clgpu[0].CLVendorID=4318
clgpu[0].CLDriverVersion="344.75"
clgpu[0].CUDASupported=1
clgpu[0].CUDAVersion="6.5.30"
clgpu[0].CLBandwidth=1.43595e+011
clgpu[0].CLCompute=1440.86
License Type: Subscription
Serial number: 96040935801616734611
Application folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\
Temporary file path: C:\Users\UNC2K3\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
M:\, 931.5G, 668.6G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Required\Plug-Ins\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Plug-ins\
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2014/08/12-23:42:09 79.557478 79.557478
adbeape.dll Adobe APE 2013/02/04-09:52:32 0.1160850 0.1160850
AdbePM.dll PatchMatch 2014/09/07-21:07:38 79.558079 79.558079
AdobeLinguistic.dll Adobe Linguisitc Library 8.0.0
AdobeOwl.dll Adobe Owl 5.2.4
AdobePDFL.dll PDFL 2014/08/18-15:13:12 79.512424 79.512424
AdobePIP.dll Adobe Product Improvement Program 7.2.1.3399
AdobeXMP.dll Adobe XMP Core 2014/08/20-09:53:02 79.156797 79.156797
AdobeXMPFiles.dll Adobe XMP Files 2014/08/20-09:53:02 79.156797 79.156797
AdobeXMPScript.dll Adobe XMP Script 2014/08/20-09:53:02 79.156797 79.156797
adobe_caps.dll Adobe CAPS 8,0,0,13
AGM.dll AGM 2014/08/12-23:42:09 79.557478 79.557478
ahclient.dll AdobeHelp Dynamic Link Library 1,8,0,31
amtlib.dll AMTLib (64 Bit) 8.0.0.122212002 BuildVersion: 8.0; BuildDate: Wed Jul 30 2014 15:59:34) 1.000000
ARE.dll ARE 2014/08/12-23:42:09 79.557478 79.557478
AXE8SharedExpat.dll AXE8SharedExpat 2013/12/20-21:40:29 79.551013 79.551013
AXEDOMCore.dll AXEDOMCore 2013/12/20-21:40:29 79.551013 79.551013
Bib.dll BIB 2014/08/12-23:42:09 79.557478 79.557478
BIBUtils.dll BIBUtils 2014/08/12-23:42:09 79.557478 79.557478
boost_date_time.dll photoshopdva 8.0.0
boost_signals.dll photoshopdva 8.0.0
boost_system.dll photoshopdva 8.0.0
boost_threads.dll photoshopdva 8.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.2.6.32411 2.2.6.32411
CITThreading.dll Adobe CITThreading 2.2.6.32411 2.2.6.32411
CoolType.dll CoolType 2014/08/12-23:42:09 79.557478 79.557478
dvaaudiodevice.dll photoshopdva 8.0.0
dvacore.dll photoshopdva 8.0.0
dvamarshal.dll photoshopdva 8.0.0
dvamediatypes.dll photoshopdva 8.0.0
dvametadata.dll photoshopdva 8.0.0
dvametadataapi.dll photoshopdva 8.0.0
dvametadataui.dll photoshopdva 8.0.0
dvaplayer.dll photoshopdva 8.0.0
dvatransport.dll photoshopdva 8.0.0
dvaui.dll photoshopdva 8.0.0
dvaunittesting.dll photoshopdva 8.0.0
dynamiclink.dll photoshopdva 8.0.0
ExtendScript.dll ExtendScript 2014/01/21-23:58:55 79.551519 79.551519
icucnv40.dll International Components for Unicode 2013/02/25-15:59:15 Build gtlib_4.0.19090
icudt40.dll International Components for Unicode 2013/02/25-15:59:15 Build gtlib_4.0.19090
igestep30.dll IGES Reader 9.3.0.113
imslib.dll IMSLib DLL 7.0.0.154
JP2KLib.dll JP2KLib 2014/06/28-00:28:27 79.254012 79.254012
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libiomp5md.dll Intel(R) OpenMP* Runtime Library 5.0
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
LogSession.dll LogSession 7.2.1.3399
mediacoreif.dll photoshopdva 8.0.0
MPS.dll MPS 2014/08/18-23:43:19 79.557676 79.557676
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CC 2014 15.2.1
Plugin.dll Adobe Photoshop CC 2014 15.2.1
PlugPlugExternalObject.dll Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit) 5.0.0
PlugPlugOwl.dll Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit) 5.2.0.52
PSArt.dll Adobe Photoshop CC 2014 15.2.1
PSViews.dll Adobe Photoshop CC 2014 15.2.1
SCCore.dll ScCore 2014/01/21-23:58:55 79.551519 79.551519
ScriptUIFlex.dll ScriptUIFlex 2014/01/20-22:42:05 79.550992 79.550992
svml_dispmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
tbb.dll Intel(R) Threading Building Blocks for Windows 4, 2, 2013, 1114
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 4, 2, 2013, 1114
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 8.0.0.14 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 8.0.0.14
VulcanControl.dll Vulcan Application Control Library 5.0.0.82
VulcanMessage5.dll Vulcan Message Library 5.0.0.82
WRServices.dll WRServices Fri Mar 07 2014 15:33:10 Build 0.20204 0.20204
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 15.2.1 (2014.2.1 x001 x003)
Accented Edges 15.2.1
Adaptive Wide Angle 15.2.1
Angled Strokes 15.2.1
Average 15.2.1 (2014.2.1 x001 x003)
Bas Relief 15.2.1
BMP 15.2.1
Camera Raw 8.7
Camera Raw Filter 8.7
Chalk & Charcoal 15.2.1
Charcoal 15.2.1
Chrome 15.2.1
Cineon 15.2.1 (2014.2.1 x001 x003)
Clouds 15.2.1 (2014.2.1 x001 x003)
Collada 15.2.1 (2014.2.1 x001 x003)
Color Halftone 15.2.1
Colored Pencil 15.2.1
CompuServe GIF 15.2.1
Conté Crayon 15.2.1
Craquelure 15.2.1
Crop and Straighten Photos 15.2.1 (2014.2.1 x001 x003)
Crop and Straighten Photos Filter 15.2.1
Crosshatch 15.2.1
Crystallize 15.2.1
Cutout 15.2.1
Dark Strokes 15.2.1
De-Interlace 15.2.1
Dicom 15.2.1
Difference Clouds 15.2.1 (2014.2.1 x001 x003)
Diffuse Glow 15.2.1
Displace 15.2.1
Dry Brush 15.2.1
Eazel Acquire 15.2.1 (2014.2.1 x001 x003)
Embed Watermark 4.0
Entropy 15.2.1 (2014.2.1 x001 x003)
Export Color Lookup Tables NO VERSION
Extrude 15.2.1
FastCore Routines 15.2.1 (2014.2.1 x001 x003)
Fibers 15.2.1
Film Grain 15.2.1
Filter Gallery 15.2.1
Flash 3D 15.2.1 (2014.2.1 x001 x003)
Fresco 15.2.1
Glass 15.2.1
Glowing Edges 15.2.1
Google Earth 4 15.2.1 (2014.2.1 x001 x003)
Grain 15.2.1
Graphic Pen 15.2.1
Halftone Pattern 15.2.1
HDRMergeUI 15.2.1
HSB/HSL 15.2.1
IFF Format 15.2.1
IGES 15.2.1 (2014.2.1 x001 x003)
Ink Outlines 15.2.1
JPEG 2000 15.2.1
Kurtosis 15.2.1 (2014.2.1 x001 x003)
Lens Blur 15.2.1
Lens Correction 15.2.1
Lens Flare 15.2.1
Liquify 15.2.1
Matlab Operation 15.2.1 (2014.2.1 x001 x003)
Maximum 15.2.1 (2014.2.1 x001 x003)
Mean 15.2.1 (2014.2.1 x001 x003)
Measurement Core 15.2.1 (2014.2.1 x001 x003)
Median 15.2.1 (2014.2.1 x001 x003)
Mezzotint 15.2.1
Minimum 15.2.1 (2014.2.1 x001 x003)
MMXCore Routines 15.2.1 (2014.2.1 x001 x003)
Mosaic Tiles 15.2.1
Multiprocessor Support 15.2.1 (2014.2.1 x001 x003)
Neon Glow 15.2.1
Note Paper 15.2.1
NTSC Colors 15.2.1 (2014.2.1 x001 x003)
Ocean Ripple 15.2.1
OpenEXR 15.2.1
Paint Daubs 15.2.1
Palette Knife 15.2.1
Patchwork 15.2.1
Paths to Illustrator 15.2.1
PCX 15.2.1 (2014.2.1 x001 x003)
Photocopy 15.2.1
Photoshop 3D Engine 15.2.1 (2014.2.1 x001 x003)
Photoshop Touch 14.0
Picture Package Filter 15.2.1 (2014.2.1 x001 x003)
Pinch 15.2.1
Pixar 15.2.1 (2014.2.1 x001 x003)
Plaster 15.2.1
Plastic Wrap 15.2.1
PLY 15.2.1 (2014.2.1 x001 x003)
PNG 15.2.1
Pointillize 15.2.1
Polar Coordinates 15.2.1
Portable Bit Map 15.2.1 (2014.2.1 x001 x003)
Poster Edges 15.2.1
PRC 15.2.1 (2014.2.1 x001 x003)
Radial Blur 15.2.1
Radiance 15.2.1 (2014.2.1 x001 x003)
Range 15.2.1 (2014.2.1 x001 x003)
Read Watermark 4.0
Render Color Lookup Grid NO VERSION
Reticulation 15.2.1
Ripple 15.2.1
Rough Pastels 15.2.1
Save for Web 15.2.1
ScriptingSupport 15.2.1
Shake Reduction 15.2.1
Shear 15.2.1
Skewness 15.2.1 (2014.2.1 x001 x003)
Smart Blur 15.2.1
Smudge Stick 15.2.1
Solarize 15.2.1 (2014.2.1 x001 x003)
Spatter 15.2.1
Spherize 15.2.1
Sponge 15.2.1
Sprayed Strokes 15.2.1
Stained Glass 15.2.1
Stamp 15.2.1
Standard Deviation 15.2.1 (2014.2.1 x001 x003)
STL 15.2.1 (2014.2.1 x001 x003)
Sumi-e 15.2.1
Summation 15.2.1 (2014.2.1 x001 x003)
Targa 15.2.1
Texturizer 15.2.1
Tiles 15.2.1
Torn Edges 15.2.1
Twirl 15.2.1
U3D 15.2.1 (2014.2.1 x001 x003)
Underpainting 15.2.1
Vanishing Point 15.2.1
Variance 15.2.1 (2014.2.1 x001 x003)
Virtual Reality Modeling Language | VRML 15.2.1 (2014.2.1 x001 x003)
Water Paper 15.2.1
Watercolor 15.2.1
Wave 15.2.1
Wavefront|OBJ 15.2.1 (2014.2.1 x001 x003)
WIA Support 15.2.1 (2014.2.1 x001 x003)
Wind 15.2.1
Wireless Bitmap 15.2.1 (2014.2.1 x001 x003)
ZigZag 15.2.1
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Libraries
Adobe Color Themes
Installed TWAIN devices: NONE -
My iPad says I cannot download any more because I am out of memory. I purchased space in cloud and still get same message. I do not know how to delete shows to open space. Can you help? Thanks.
Your iPad is physically out of storage space. Purchasing space in iCloud dosen't magically give your actual iPad more physical storage space.
You need to delete content off of your iPad.
https://discussions.apple.com/thread/5122738?start=0&tstart=0
http://m.youtube.com/watch?v=mZdBQoE37FA&desktop_uri=%2Fwatch%3Fv%3DmZdBQoE37FA -
Out of memory when rendering...mystery! urgent help!
ok, this is mysterious. and stressful, because of course it happens when i have to output this and get on a plane.
I created a stereo sequence which is high def, 3840x1080. photo jpeg. it has stills, and embedded hdv sequence content.
out of memory error when exporting quicktime movie, either through fcp or compressor.
so i have gone to the individual sequences (left and right) which are normal hdv sequences with video and stills, and out put a quicktime of each. i'll import the quicktimes and build the stereo sequence with these two quicktime files.
the right sequence rendered, and output as a quicktime movie just fine.
the left sequence failed, out of memory error.
so i started rendering the sequence a bit at a time to find where the problem is. the problem is on two pieces of hdv footage, and a few frames of a photo.
HERE'S THE STRANGE THING:
except for the few frames of still photo, which are in a transition of text overlay, everything is identical to the right sequence which rendered and output JUST FINE! the only difference with the text is that its position is slightly different...but 97% of it rendered just fine. I found one still which was grayscale which i've changed to RGB, but still no difference in being able to render. and it rendered in grayscale on the right sequence.
I've changed my scratch disk to a drive with over a tb of space, I have 5gb of RAM with only fcp running, on a dual core 2.67 mac pro.
help!Deleting FCP Preferences:
Open a Finder window. Set the view mode to columns:
Click the house icon that has your name next to it.
Click the folder "Library" in the next column.
Find and click the folder "Preferences" in the next column.
Find and click the folder "Final Cut Pro User Data" in the next column.
Move the files "Final Cut Pro 6.0 Prefs", "Final Cut Pro Obj Cache" and "Final Cut Pro Prof Cache" to the Trash and empty it.
When you have a stable set of preference files, download [Preference Manager|http://www.digitalrebellion.com/pref_man.htm] to back them up. If you have further problems, the backup can be recalled and you can continue working. -
Could some some please help me with this i hava a programe which is reading email from amd email sever using javamail.
My problem is that when this pgrograme have to read more than 27 thousand emails and filter them at the same time but as soon as i get to 5900 the jvm runs out of memory. i have tried increaing memory using -Xms and Xms this seem to work but i still get memory leaking could some one have a look at my code i would be very happy to any light at to why or where the leak is comming from.
at the moment i have managed to track the leak to the "searchEMail" method
if you cam help my email is [email protected] or [email protected]
=====================================================================
EmailFilter.java
wokoli
=====================================================================
import java.io.*;
import java.util.*;
import java.awt.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.swing.JProgressBar;
import javax.swing.JWindow;
public class EmailFilter
extends Authenticator implements EmailHelper
protected String from=null;
protected Session session=null;
protected PasswordAuthentication authentication=null;
private Properties props=null;
private TreeMap bounced=null;
private long start=0;
private long end=0;
private PrintWriter out=null;
private int blockSize=100;
private Store store=null;
public EmailFilter(Properties props){
this(null, null,props);
public EmailFilter(String user, String host,Properties props)
try{
if(props==null)
props = new Properties();
System.out.println("Reading properties file...");
props.load(new FileInputStream("config.properties"));
from = user + '@' + host;
props.setProperty("mail.user", user);
props.setProperty("mail.host", host);
props.setProperty("mail.password",user);
}catch(Exception e){
e.printStackTrace();
authentication = new PasswordAuthentication(props.getProperty("mail.user"),props.getProperty("mail.password"));
props.setProperty("mail.store.protocol", "pop3");
props.setProperty("mail.transport.protocol", "smtp");
session = Session.getInstance(props, this);
blockSize=Integer.parseInt(props.getProperty(BLOCKSIZE));
this.props=props;
processCsvFile();
private int column=0;
protected void processCsvFile()
Recipient resp=null;
BufferedReader reader=null;
try {
File file=new File("report.csv");
if(!file.exists())
return;
System.out.println("Reading report.cvs file...");
reader= new BufferedReader(new FileReader(file));
StreamTokenizer parser = new StreamTokenizer(reader);
parser.wordChars(' ', ' ');
parser.wordChars('@', '@');
parser.wordChars(':', ':');
parser.wordChars('-', '-');
parser.wordChars('"', '"');
parser.eolIsSignificant(true);
int nxtToken=0;
while ((nxtToken=parser.nextToken()) != StreamTokenizer.TT_EOF )
if(nxtToken==StreamTokenizer.TT_EOL)
column=0;
resp=new BouncedEmail();
if(parser.lineno()>1)
switch (parser.ttype)
case StreamTokenizer.TT_NUMBER:
switch (column)
case 1:{
resp.setCount((int)parser.nval);
column++; break;
break;
case StreamTokenizer.TT_WORD:
switch (column)
case 0:{
resp.setEmail(parser.sval);
column++; break;}
case 2:{
String str=parser.sval.replace('"',' ');;
resp.setDate(str.trim());
column++;break;}
case 3:{
String str=parser.sval.replace('"',' ');;
resp.setTime(str.trim());
column++; break;}
break;
default:
addBounced(resp);
} catch (IOException e){
e.printStackTrace();
}finally{
try{
if(reader!=null)
reader.close();
}catch(IOException ioe){
ioe.printStackTrace();
public PasswordAuthentication getPasswordAuthentication(){
return authentication;
private boolean searchEmail(MimeMessage msg)
String criteria=null;
String str=null;
try{
criteria=(String)props.get(FROM);
str=(String)msg.getFrom()[0].toString();
if(criteria!=null && criteria.length()>1 && str!=null && str.length()>1)
if(doSearch(str,criteria)==BOUNCED)
return BOUNCED;
criteria=(String)props.get(SUBJECT);
str=(String)msg.getSubject();
if(criteria!=null && criteria.length()>1 && str!=null && str.length()>1)
if(doSearch(str,criteria)==BOUNCED)
return BOUNCED;
/*criteria=(String)props.get(BODY);
Object o = msg.getContent();
if (o instanceof String) {
str=(String)o;
} else if (o instanceof Multipart) {
Multipart mp = (Multipart)o;
//int count = OutOfMemoryErrormp.getCount();
//for (int i = 0; i < count; i++)
//dumpPart(mp.getBodyPart(i));
} else if (o instanceof InputStream) {
//System.out.println("--This is just an input stream");
//InputStream is = (InputStream)o;
//int c;
//while ((c = is.read()) != -1)
// System.out.write(c);
if(criteria!=null && criteria.length()>1 && str!=null && str.length()>1)
if(doSearch(str,criteria)==BOUNCED)
return BOUNCED;
}catch(OutOfMemoryError oome){
System.out.println("while in searchEmail "+oome);
System.out.println("while in searchEmail "+oome.getStackTrace());
finalize();
System.exit(0);
catch(javax.mail.internet.AddressException ae){}
catch(NullPointerException npe){}
catch(Exception ex){
//ex.printStackTrace();
ex.getMessage();
return !BOUNCED;
//str is the content that you wnat to search and criteria is the
//what you are searching for
//str -> From, Subject or Body from Message Object
//criteria -> From, Subject or Body from Prop file
private boolean doSearch(String str,String criteria)
if(str==null || criteria ==null)
return !BOUNCED;
StreamTokenizer token=new StreamTokenizer((Reader)new StringReader(criteria));
StringSearch sch=new StringSearch(str.getBytes());
token.wordChars(' ', ' ');
token.wordChars('@', '@');
token.wordChars(':', ':');
token.wordChars('-', '-');
token.wordChars('"', '"');
token.eolIsSignificant(true);
int nxtToken=0;
try{
while ((nxtToken=token.nextToken()) != StreamTokenizer.TT_EOF )
if(token.ttype==StreamTokenizer.TT_WORD)
if(sch.indexOf(token.sval)>-1)
return BOUNCED;
}catch(OutOfMemoryError oome)
System.out.println("while in doSearch ");
oome.printStackTrace();
}catch(IOException ioe){
ioe.printStackTrace();
return !BOUNCED;
public void sendMessage(String to, String subject, String content) throws MessagingException
MimeMessage msg = new MimeMessage(session);
msg.addRecipients(Message.RecipientType.TO, to);
msg.setSubject(subject);
msg.setText(content);
Transport.send(msg);
private void addBounced(Recipient resp)
if(resp==null)
return;
if(bounced==null)
bounced=new TreeMap();
String email =resp.getEmail();
if(email==null)
return;
if(isExisting(email)==null){
bounced.put(email,resp);
private String isExisting(String key)
if(key==null || bounced==null)
return null;
String name=null;
Iterator itr=bounced.keySet().iterator();
while(itr.hasNext())
name=(String)itr.next();
if(name==null)
return null;
if(name.equals(key))
return name;
return null;
private void writeReport()
if(bounced==null)
return;
Recipient resp=null;
File file =null;
try{
if(out==null) //writing for to file for the first time
file=new File("report.csv");
if(file.exists())
System.out.println("Found and deleted report file "+file.delete());
file =new File("report.csv");
out =new PrintWriter(
new BufferedWriter(
new FileWriter(file)),true);
out.println("Email,Count,Last Date Bounced,Lasted Time Bounced");
Iterator itr=bounced.keySet().iterator();
String key=null;
System.out.println("Writing report...");
while(itr.hasNext())
key=(String)itr.next();
resp=(Recipient)bounced.get(key);
out.println(key+","+resp.getCount()+",\""+resp.getDate()+"\",\""+resp.getTime()+"\"");
}catch(Exception ex){
ex.printStackTrace();
}finally{
if(bounced!=null)
bounced.clear();
bounced=null;
out.flush();
private void collectGarbage()
System.out.println("mem before "+Runtime.getRuntime().freeMemory());
Runtime.getRuntime().gc();
System.out.println("mem after "+Runtime.getRuntime().freeMemory());
System.out.println("Garbage collected");
private void createBouncedEmail(String email,String date, String time,int count)
if(email==null)
return;
String name=isExisting(email);
if(name!=null)
Recipient res=(Recipient)bounced.get(name);
bounced.remove(name);
int c=res.getCount();
addBounced(new BouncedEmail(email,res.getDate(),res.getTime(),++c));
}else
addBounced(new BouncedEmail(email,date,time,count));
public void checkInbox(int mode) throws MessagingException, IOException
Folder inbox=null;
// Store store= null;
JProgressBar pbar=null;
JWindow window=null;
try
if (mode <0) return;
boolean show = (mode & SHOW_MESSAGES) > 0;
boolean clear = (mode & CLEAR_MESSAGES) > 0;
String action =
(show ? "Show" : "") +
(show && clear ? " and " : "") +
(clear ? "Clear" : "");
System.out.println("Checking mail on: "+props.getProperty("mail.host"));
store = session.getStore();
System.out.println("Trying to connect to mail server: "+props.getProperty("mail.host"));
store.connect();
System.out.println("Connected on mail server : "+getRequestingSite());
Folder root = store.getDefaultFolder();
inbox = root.getFolder(INBOX);
System.out.println("Opening mail folder for Reading");
inbox.open(Folder.READ_ONLY);
Message[] msgs = inbox.getMessages();
if (msgs.length ==0){
System.out.println("No messages in inbox");
for (int cnt = 0; cnt < msgs.length; cnt++)
MimeMessage msg = (MimeMessage)msgs[cnt];
System.out.println("Reading msg "+cnt);
if(searchEmail(msg)==BOUNCED)
createBouncedEmail(msg.getFrom()[0].toString(),null,null,-1);
if (show)
System.out.println(" From: " + msg.getFrom()[0]);
System.out.println(" Subject: " + msg.getSubject());
System.out.println(" Content: " + msg.getContent());
if (clear)
msg.setFlag(Flags.Flag.DELETED, true);
if((bounced!=null && bounced.size()==blockSize) || cnt==msgs.length-1)
writeReport();
if(cnt%100==0)
collectGarbage();
//writeReport();
//end=new Date().getTime();
//System.out.println("Time complted: "+new Date());
//System.out.println("Time taken to complete: "+new Date(end-start));
}catch(OutOfMemoryError oome)
System.out.println("while in checkInbox ");
oome.printStackTrace();
}catch (AuthenticationFailedException afe){
afe.printStackTrace();
}finally{
if(window!=null)
window.dispose();
if(inbox!=null)
inbox.close(true);
if(store!=null)
store.close();
if(out!=null)
out.close();
protected void finalize()
try{
if(out!=null)
out.close();
if(store!=null)
store.close();
System.out.println("Closing connection...");
}catch(Exception ex){
ex.printStackTrace();
}Cross posted
http://forum.java.sun.com/thread.jsp?thread=429947&forum=4&message=1920034 -
Help - Out of Memory error and intermittency problem in OIM
Hello to all.
I'm having some problems in my environment and I would drive to identify the real problem.
The environment I am using for the reconciliations is always the problem of out of memory, and often after this problem began to appear another problem of out of memory that is: java.lang.OutOfMemoryError: PermGen space
And when this problem started to appear also in the parallel User warned me of a problem he is going to happen in the following way, the User log in with your User OIM Web, but when we try to do any action, by clicking the users to search for example, the system of the message as if it had timed session, and it happens every time.
What has been there, when I looked in the log did not identify the cause of the problem, someone would tell me as a starting point, because I do not know what to do.
A doubt, we apply some patches that were described in doc.id 553266.1 (6685235, 5389650, 6454278, 6880142, 6808170),
patches that can be applied in a random or should be applied in order.
Sorry for my English, but my level is not very advanced.
Thanks,
VictorHi,
We also used to have memory problems earlier. The root cause was the memory grantinted to the JVM. We can configure the memory parameters from the application server.
In JBoss, we do it in following way:
File: [SERVER_HOME]/bin/run.conf (Linux box)
Line: JAVA_OPTS="-XX:PermSize=128M -XX:MaxPermSize=256M -Xms1280m -Xmx1280m"
You could try increasing the MaxPermSize to say about 2 GB. This should reduce the Out Of Memory Exception.
N.B.: If you done have the JAVA_OPTS as mentioned above, then try using the the way I am using it. It might help. -
Help! Out of Memory!
Hi,
I've written a server to call a check routine every 1 minute! I've currently set this to 1 second for testing but I seem to run out of memory! Not ideal!
I'm fairly new to Java so I'm not so sure about the memory release and garbage collection process..
This is the routines which is called! Should I set the Class defs to Null to promote garbage collection ?
Any idea ? Suggestions ? Can I see how the memory is increasing in a debug mode ? I am using netbeans 4.1.
The FTP get function returns the file as a string, I guess this doesn't help...
/ public void OSRWatchDog(String locdb, String loctable) {
db = locdb; table = loctable;
FTP.FTPCmd ftp = new FTP.FTPCmd();
sqlPtr = new MySQL.SQLCmd();
emailRef = new sendMail();
ftp.setFTPfile("$UNIX.FILE");
osrInfo = new String[512];
try {
tmpStr = ftp.get();
if ( tmpStr != "" ) split(tmpStr);
} catch ( Exception e ) {
exception("Unable to read File. Process skipped");
}Well, somewhere you're holding on to objects that aren't needed anymore, and continue to create new ones. Look for references declared outside of loops but being filled or added to inside.
nulling something has no mentionable effect, the GC runs whenever it wants to. Just let the variables run out of scope. -
Help! Sudden weird behavior - "out of memory" yikes
I'm new to Logic 8, and working on my first project. Working on a new Mac Pro 2x 2.8Ghz Quad machine.
Everything was going fine, and then all of a sudden the program started acting very weird. In automation mode, I would see square markers instead of the circular ones. When I'd click on a marker to adjust it the pointer would disappear and become a dot, and the machine would hang on me. I tried restarting Logic and rebooting but to no avail.
Now all of a sudden I'm getting "Not Enough Memory!" messages and "couldn't copy these EventS!"
How can I be out of memory? What's happening with this program?
Please help me - I'm on a deadline...The term I didn't have in my above posting was "automation nodes" - the automation nodes on my project - many of them anyway - are square instead of round.
Everything is moving very slowly (scrolling, switching modes, etc.). If I click on one of those square automation nodes I get the spinning wheel and nothing happens.
Is there any kind of tech support available for Logic. I am ruined here... -
Help! Mid files cause "out of memory" session shut down.
When I export .mid files from Reason 7 and import them into Logic Pro 9, it give me the error message "out of memory" and shuts down the session. Help!!
I tried a number of values that were multiples of 1024 (2048, etc).
The only thing that worked seemed to be changing the number and rebooting the server machine.
Not sure what caused the initial problem though. Saw very wierd activity in the FMS console. Had a few hundred users connected, as I typically do for one of my events, and the chat application was repeatedly unloaded from FMS. When it was reloaded the FMS console would show crazy large numbers in the "Clients" column - numbers like 3954. Then it would drop to like 340. Then shoot up again to wildly large numbers.
Is that the result of a memory problem? -
i m implementing an application containing 90 data fields.
i m doing it using jdk1.4 and oracle 8i.
problem is every time i try open any menu item from menubar the application gets stopped and nothing works and it shows out of memory error on console.
is it due to 90 fields together in the database???
or it means something else.
plz help
thanks in advance.thanks for reply
in menubar i have many menuitems.
when i click on menuitem1, say there are about 15 fields in which i fill data an insert it into database.
in next menuitem i.e menuitem2, i have 25 fields in which i view / read 15 fields which were previously entered in menuitem1, and i add another 10 fields to the database.
this way it happens in all other menuitems.
i had to follow this way as i m making a project for a company having many departments.
the code is too large to post over here, if i could get your e-mail address i can mail it to you. -
Can anyone help with an out of memory error on CS2?
Hello,
I have been battling with an out of memory error on a dell laptop running 2gb of ram. I have had no prior issues with this laptop running CS2 until last week when I started getting the out of memory errors. I have seen several articles about this occuring on later versions of illustrator. Just prior to this issue appearing I had to delete and rebuild the main user profile on the computer due to it consistently logging into a temporary account.
Once the new profile was established and all user documents and profile settings were transferred back into it, this problem started showing up. The error occurs when clicking on files listed as Illustrator files, and when opening the illustrator suite. Once I click on the out of memory error it still continues to load illustrator. The files are located on a server and not on the remote computer. I have tried to copy the files to the local hard drive with the same result when I try to open them. I also tried to change the extension to .pdf and got no further. I tried to open a file and recreate the work and all I got was the black outline of the fonts. none of the other artwork appeared. once rebuilt, when trying to save, It gives the out of memory error and does not save the file.
Illustrator was installed on another dell laptop, same model, etc and works fine. no problem accessing network files. I just attempted to use Illustrator from the admin profile on the machine in question and it works fine and lightening fast. Just not from the new rebuilt profile. I have tried to uninstall and reinstall the software. it has not helped. could there be stray configuration settings that we transfered over to the new profile that should not have been?
Any insights will be helpful.
Thank You,
Brad YeutterHere are some steps that could help you:
http://kb2.adobe.com/cps/320/320782.html
http://kb2.adobe.com/cps/401/kb401053.html
I hope this helps!
Maybe you are looking for
-
How can I deal with 19YY vs 20YY problem?
Hi, I have a sqlldr control file that looks something like this ... LOAD DATA INFILE * REPLACE INTO TABLE BLAH_BLAH_BLAH FIELDS TERMINATED BY '|' TRAILING NULLCOLS COL1, THE_DATE, COL2 BEGINDATA ABC|01-JAN-82|BLAHBLAH XYZ|01-AUG-00|BLAHBLAH where 01-
-
How do you shut down a computer safely when Finder is not responding?
I've been having some problem with my Mac OS X lately where Aperture has been "not responding". Stupidly, I used forced shutdown of that program until I learned how bad this is. So today I'm working on my mac (trying to learn what's wrong with Apert
-
Hi, Is there any program or utility to mass clear open items for multiple company codes? Rgds.
-
How to change page orientation in Pages?
Hi, I would like to change page orientation for Just one page inside a document. Say I have page 3 that I want to be landscape and not vertical, how can I do it? I haven't been able to find this in Pages, I found it in Word though. Any idea?
-
I've got my new win7 computer with chrome, but I need flash on my actual PC to run a few processes. Unfortunately, the downloader is only recognizing that I have the flash plug-in for chrome and doesn't let me get a desktop/pc version of flash. Ideas