memory « Development « Spring Q&A





1. Create a Java File object (or equivalent) using a byte array in memory (without a physical file)    stackoverflow.com

I want to create a Java File object in memory (without creating a physical file) and populate its content with a byte array. Can this be done? The idea is to pass it ...

2. How can I configure Spring to save as much memory as possible?    stackoverflow.com

We're deploying an application on a semi-embedded device that has memory constraints. Looking to save whatever we can we are analysing heap dumps of the app and attacking the biggest consumers. ...

3. Spring ApplicationContext taking up grotesque amounts of memory    stackoverflow.com

I have numerous Spring Framework-based applications that run on a Tomcat 5.5 server. Some of them have their own instances, some share a server with other applications. The one ...

4. Out of Memory Error in Eclipse    stackoverflow.com

I am trying to install Spring framework in my eclipse ganymede through an update site http://springide.org/updatesite. But when it updates an error will occur in my ide which says ...

5. visual vm analyze memory leak    stackoverflow.com

in my visual vm, i click on sample->memory, and i keep see "windowprincipal" class, instances stay at 25. even that right now nobody using the application. is this sign of memory ...

6. Could declaring a static ApplicationContext cause a memory leak ? (Spring 3)    stackoverflow.com

I've got code that I am using from another team and I have spent days trying to track down a suspected memory leak in my application. I get an OutOfMemory error ...

7. Hyperic monitoring issue with a spring application    stackoverflow.com

In one of my Spring application, i have a memory issue. I explain: After having a memory problem on our JBoss server, several applications crashed. We made a heap dump on one of ...

8. Memory leak error.    forum.springsource.org

Memory leak error. We have implement Spring security for PreAuthentication (siteminder). We are seeing following error logged when we stop tomcat server. I'm not sure what are we doing wrong. SEVERE: ...

9. Memory Leak in Cglib2AopProxy.ProxyCallbackFilter    forum.springsource.org

We are having issues with OOM errors during unit test runs. The runs setup and subsequently tear down a lot of Spring contexts, and we're noticing the BeanFactory instances are not ...





10. Any Good Spring Approach On Memory Stored Data?    forum.springsource.org

I am looking for a good approach of memory data store. For example, I need to store the minimum length of all current user names in memory. When a user name ...

11. HOW-TO: ApplicationContext memory leaks in Spring 3.0.x.    forum.springsource.org

HOW-TO: ApplicationContext memory leaks in Spring 3.0.x. When we upgraded our jBoss server, we also upgraded from Spring 2.5.6 to 3.0.2. Soon after we started having memory problems. Our research identified ...

12. Reading huge files(>50 k) causes out of memory error    forum.springsource.org

Reading huge files(>50 k) causes out of memory error I have mapped a Blob to a byte[] array and trying to save into Oracle database. My code: Email email = new ...

13. Out of memory error when marshalling large attachments    forum.springsource.org

Out of memory error when marshalling large attachments I'm using spring ws on the server side with a AxiomSoapmessageFactory: Code: Subscriber takes around 5-30 seconds to process each ...

16. Out of memory problem    forum.springsource.org

Jul 13th, 2011, 02:03 PM #1 check View Profile View Forum Posts Private Message Junior Member Join Date Jun 2011 Posts 8 Out of memory problem Code: Hi, We are using ...





17. Native memory leak using ClassPathXmlApplicationContext    forum.springsource.org

Native memory leak using ClassPathXmlApplicationContext Hello, We have a memory leak issue (native) in our application server (Weblogic) when using Spring framework. We have managed to pinpoint the leak to one ...

18. Memory leak using RMI    forum.springsource.org

Memory leak using RMI I'm using the springframework for a server application that communicates with swing clients through RMI with the classes RMIServiceExporter on the server and the RmiProxyFactoryBean on the ...

19. Memory leak?    forum.springsource.org

Oct 10th, 2011, 03:11 PM #1 kureckam View Profile View Forum Posts Private Message Junior Member Join Date Jul 2011 Posts 18 Memory leak? I'm using Tomcat 7 with spring 3.1. ...

20. Memory leak?    forum.springsource.org

Nov 4th, 2011, 11:20 AM #1 khoa View Profile View Forum Posts Private Message Member Join Date Mar 2010 Posts 45 Memory leak? My application is leaking memory even when not ...

21. Memory leak + low response time    forum.springsource.org

Memory leak + low response time Hi, In my web application, I have used DI (without annotation) for service layer and Dao layer and spring MVC (annotation based) for controllers and ...

22. Memory Issue    forum.springsource.org

Memory Issue Hi I am writing a program which performs the following: 1. TXN start 2. read record from an XML file 3. create a domain type based on the XML ...

23. Suspicous memory leak ?    forum.springsource.org

Suspicous memory leak ? Hi In a project using spring & hibernate, I've used an Interceptor class implementing the ApplicationContextAware interface so that bean dependencies are set by spring during initialization(just ...

24. PagedListHolder and Memory    forum.springsource.org

PagedListHolder and Memory I am currently working on a project where I will need load possibly a large amount of objects into a PagedListHOlder (anywhere from 1 - 5000 objects... search ...

25. Memory Leak: Spring does not release my objects    forum.springsource.org

Memory Leak: Spring does not release my objects I have the following problem: I'm using Tomcat 5.5.9, Spring 1.2.1, Hibernate 3.0.5. After stopping / reloading my web app the memory of ...

26. Memory Usage Management:(    forum.springsource.org

Memory Usage Management:( Unlike most of framework, the Spring generates the most of, if not all Java objects of an application during the startup. As a result, it consumes a lot ...

27. Command Class Object remains in memory    forum.springsource.org

Command Class Object remains in memory Hi Everybody, I have a problem. We are using AbstractWizradFormController. The problem is that the command object associated with Wizard remains in memory unless the ...

28. How otimize memory(heap) taked by Spring?    forum.springsource.org

There's any kind of configuration as well as practices to (in)directly control the amount of space Spring will occupy in memory? I am part of a team that develops a J2EE ...

29. Memory Leaks with custom editors in initBinder    forum.springsource.org

Memory Leaks with custom editors in initBinder Forgive my ignorance but if iI have a SimpleFormController and I've overridden initBinder to register a custom property editor then aren't there inherit problems ...

30. running outof memory error while reading flat file    forum.springsource.org

Hi all, i am reading vary big flat file which contains more than 200000 records, and converting that records successfuly into bean object. but the problem is when file contains more ...

31. binding problem : memory leak ?    forum.springsource.org

binding problem : memory leak ? Hello, We've used Spring RCP in our app for binding beans (just the formmodel/valueModel module) to JComponents. Everything works fine except in one case : ...

32. Possible memory leak problem    forum.springsource.org

Possible memory leak problem Greetings! I have a small web-app deployed on resin and the jvm started ceasing on fairly regular bases. The admin and myself suspect a memory leak. The ...

33. Getting out of memory errors when loading large amounts of data.    forum.springsource.org

Getting out of memory errors when loading large amounts of data. Hi All, I have gone through a lot of the forums and have found solutions for pagination. But the problem ...

34. Clearing the context to avoid out of memory when using JUnit test    forum.springsource.org

Clearing the context to avoid out of memory when using JUnit test I use JUnit tests from within Eclipse to test my code. My problem is that each test sets up ...

35. memory leakage with Default MessageListenerContainer    forum.springsource.org

memory leakage with Default MessageListenerContainer I am using DefaultMessageListenerContainer with tiboc server with following configuration

36. Major Memory Leak with Weblogic 8.1 (core 1.2.9)    forum.springsource.org

[Major] Memory Leak with Weblogic 8.1 (core 1.2.9) Hello, Briefly is like this, we are have this large application that runs in WLS 8.1 and we noticed, running JProbe, that after ...

37. Spring Singleton Memory Leak Question    forum.springsource.org

Spring Singleton Memory Leak Question I'm a spring newbie, so please forgive my ignorance on this question. I'm dealing with an application that has some Singletons. These are built using typical ...

38. Singleton in-memory lookup and web    forum.springsource.org

Singleton in-memory lookup and web Hi there, I'm quite new to the Spring framework. I have a situation where I have a Spring application hosted in Tomcat. In the service layer ...

39. Out of Memory Error while Running JUnit    forum.springsource.org

Apr 28th, 2008, 02:43 PM #1 russray View Profile View Forum Posts Private Message Member Join Date Oct 2007 Location Birmingham, Alabama Posts 60 Out of Memory Error while Running JUnit ...

40. Memory leak: shouldn't Log4jNestedDiagnosticContextFilter call NDC.remove()?    forum.springsource.org

Memory leak: shouldn't Log4jNestedDiagnosticContextFilter call NDC.remove()? We have some memory leaking issues on our application server, so I started analizing heap dumps. Found that org.apache.log4j.NDC (logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/NDC.html) class is holding references to ...

41. ColdFusion: Do Contexts persist in memory and is there a way to load them if they do?    forum.springsource.org

ColdFusion: Do Contexts persist in memory and is there a way to load them if they do? Spring newbie here. I got thrown into a project where I need to have ...

42. @Splitter memory woes    forum.springsource.org

Hi folks! I have a scenario like this: A BIG, BIG file, that has a lot of items to be processed. These items are very good candidates for parallel processing, but ...

43. AnnotationTransactionAttributeSource takes a lot of memory    forum.springsource.org

Hi, i've just run MemoryAnalyser on my project and i see that AnnotationTransactionAttributeSource takes 16 Mo on a total of 78 Mo , which represent 20 % of all the memory ...

44. Easy memory leaking with custom Poincut implementation    forum.springsource.org

Easy memory leaking with custom Poincut implementation I have run into a problem with PermGenSpace memory leak using programmatical creation of CgLib proxies. This was only due to my mistake, that ...

45. High memory usage    forum.springsource.org

High memory usage Hi All, I have completed developing a small web application in jsf using spring and hibernate , am using jboss as an application server but the problem is ...

46. char[] objects Memory Isse    forum.springsource.org

char[] objects Memory Isse Hi, I Am Involved in Development Of One Big Project With Spring MVC & Hibernate And Running in Tomcat 5.5 (development stage) It's a Big Project .. ...

47. Memory leak around RedirectView?    forum.springsource.org

Memory leak around RedirectView? Hi, I've just started investigating this, but it looks like "something" is leaking RedirectView objects in my spring-mvc/web application (no web-flow). We are using spring v2.5.5 It ...

48. PromptTextFieldFormComponentInterceptorFactory and memory leak ?    forum.springsource.org

I've noticed that if I turn the PromptTextFieldFormComponentInterceptorFactory on in my spring config, my forms are not getting garbage collected properly if a field has a prompt. Has any one else ...

49. Memory Management Question    forum.springsource.org

Memory Management Question Hi, I have a question regarding Spring and memory management. I have a controller which has a helper class(Business Logic), which in turn has a DAO. The DAO ...

50. Memory Issue    forum.springsource.org

Memory Issue Hello guys, Im having this weird problem. We've developed a system that is behaving really awkwardly. On our local it runs like a precious gem (it runs fine), but ...

51. Memory consumption in ApplicationContext 3.0.0    forum.springsource.org

Memory consumption in ApplicationContext 3.0.0 Hi, currently I'm trying to migrate my application from 2.5.6 to 3.0.0. Surprisingly I can see a significant higher memory consumption in 3.0.0. The DefaultListableBeanFactory uses ...

52. Heap memory usage growing steadily    forum.springsource.org

Hi, My application full stack :MYSQL/HibernateSearch/Spring/Flex. My JVM memory configuration is : Code: -Xms256m -Xmx512m -XX:MaxPermSize=256m The problem is that i get the heap memory used growing slowly but steadily in ...

53. outof memory issue    forum.springsource.org

If you only see threads with names between 1 and 9, then it seems like you are indeed staying under 10 threads. Are you seeing the number of threads elsewhere (e.g. ...

54. Out Of Memory Error with ClassPathXmlApplicationContext    forum.springsource.org

Out Of Memory Error with ClassPathXmlApplicationContext Friends, i am new to spring world, basically i have a requirement to run a Quartz job which intern gets JPA/Persistent/domain objects and performs its ...

55. Memory leak is huge!!!    forum.springsource.org

56. Loading multiple application context has a memory leak?    forum.springsource.org

Loading multiple application context has a memory leak? We have a testing framework that is loading a new spring application context for each test configured. (There are some technical reasons why ...

57. :( problem about memory cost by spring    forum.springsource.org

:( problem about memory cost by spring our project is based on spring+struts+ibatis. JVM is 32bit because our business model is varies, many objects(200+) are created by spring (singleton) when depolying ...

58. Generate XML from Schema (XSD) - "In memory"    forum.springsource.org

59. War takes more memory    forum.springsource.org

I am using GWT. In this, WAR folder takes more memory. When i reduce my source file also it doesn't get reduced. What are all files/folder must be needed in WAR? ...

60. detecting memory leaks    forum.springsource.org

Hi, I use apache commons logging as part of all my spring classes. Could there be issues in relation to memory leaks? How do I detect this? I use LogFactory.getLog . ...

61. detecting memory leaks2 or maybe not a leak    forum.springsource.org

detecting memory leaks2 or maybe not a leak For the original thread, refer here: http://forum.springsource.org/showthread.php?t=94748 So today, I cleaned up the application. It is no longer using the commons logger but ...

62. Memory leak?    forum.springsource.org

Oct 12th, 2010, 12:43 PM #1 khoa View Profile View Forum Posts Private Message Member Join Date Mar 2010 Posts 45 Memory leak? My SI application is leaking memory even though ...

63. dm Server Tools Peformance (memory & speed & usability) in large projects    forum.springsource.org

dm Server Tools Peformance (memory & speed & usability) in large projects Hi, We have been using STS/DM Server tooling for quite a while now (basically since it came out), but ...

64. Memory leak can't be in spring right?    forum.springsource.org

Memory leak can't be in spring right? Spring 3.0.5, tomcat 6.0.28 I'm building an app that has permgen space memory leak issues. To test the cause I built a minimal app ...

65. Memory Leak    forum.springsource.org

Memory Leak We have noticed that after several redeploys of the petclinic sample application we get an OutOfMemory error. We've tryed using Spring 1.1rc1 and 1.1rc2 with Tomcat 4.1.30. I have ...