|
Is this statement true, false, or poorly formulated:
"In Java, memory leaks must always be related somehow to a long-lived object."
In this context, I am referring simply to regular objects, and not to system resources in general (file descriptors, and...
Started by John O on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Depending on the specifica of long-lived, and the inclusion/exclusion....
Interesting article here.
Be related somehow to a long-lived object."
A long-lived object is a Singleton, or something that will live.
|
|
We have a discussion going on in my team at the moment, and I'd be interested in other views. Suppose we have a RESTful web service whose role is to annotate documents by applying a variety of analysis algorithms and services. The basic interaction in...
Started by Ian Dickinson on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
You don't want them doing on AnnotationRequests so ....
They can't know and you can't predict how long it will take.
In which case, perhaps your REST" is imponderable.
Different results, so long as the calls themselves are side-effect free.
|
|
.NET 3.5, I've got some classes which stores up to 1MB of strings. Even though I need the object for a really long time I don't need to store the string for a long time.
How can I truly remove the string from memory without disposing the parent object...
Started by dr. evil on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Have you considered WeakReference ?
It's possible that you're referencing or copying the string somewhere else... .
And see if Flyweight fits you.
Assigning null to a private variable will do just fine .
IDisposable has nothing to do with memory management.
|
Ask your Facebook Friends
|
When you need to have very small objects, say that contains 2 float property, and you will have millions of them that aren't gonna be "destroyed" right away, are structs a better choice or classes?
Like in xna as a library, there are point3s, etc as structs...
Started by Joan Venge on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Not that clear how, if at all, this heap defrags itself, however for very long lived objects that perhaps long-term effects that may not be apparent by such a measurement, be aware that such arrays.
|
|
I've looked into COM servers and Windows services but I'm not sure what best suits my purposes or how to do it. What I want is something that can be started and run for an indefinite amount of time which holds an object so that other processes or applications...
Started by crazynoodle7 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Hard....
You seem to be asking for two things -
a way to host a long-running, persistent, but it was always pretty slim.
As long as you know you can manipulate the serial a native solution.
But i understand you can create services with .net.
|
|
I'm working on a web-based application that is intended to have at least a 6 year lifetime. Once the application is delivered, chances are that it won't be modified during that time frame.
We're considering using the asp.net MVC framework and jQuery, ...
Started by chris on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
A final consideration: please note that 6 years are a very long time in the wild web world.
Opinion).
|
|
I am very interested in streaming data for web-applications. I have tried out some javascript libraries, but the hacks and browser-incompatibilities drive me crazy ! HTML5 will hopefully standardize streaming data, but until then, hopefully I can resort...
Started by I.devries on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
When you're loading things that Flash intuitively understands (MP3s, JPGs, SWFs and so on) then you would normally use a Loader , and then too you can ... .
Though I'm not familiar with what you're doing, it sounds like you should be looking at URLStream .
|
|
Offline_access and long lived access tokens on facebook Hi,
I've having a bit of trouble with the offline_access to FB.
Initial connection with offline_access seems to be working fine, but after 30 min after it seems like the connection expire.
any idea...
Started by yonimoses on
, 4 posts
by 2 people.
Answer Snippets (Read the full thread at springsource):
Assuming that is unlikely, let's start by making sure you're asking for offline access ... .
I haven't had any trouble with it lately, but if you are specifying offline access correctly and the token seems to expire, then it sounds like a bug on FB's side .
|
|
Genesis 5:5: "And all the days that Adam lived were nine hundred and thirty years: and he died."
In Genesis chapter 5, we read that Adam lived to be 930 years old. One question often asked is, "Could Adam really have lived that long?"
Most of the effects...
Started by cavell on
, 10 posts
by 7 people.
Answer Snippets (Read the full thread at christianforums):
We can be sure that Adam and the others lived as long as they did because God's world that may ....
Often asked is, "Could Adam really have lived that long?"
Most of the effects of aging are due and stimulates the entire body.
|
|
You've probably seen people on the news now and then who are featured for being 100, or see articles highlighting things these older people have in common. I just find it interesting, even people who are not 100 yet but live well (still active, mostly...
Started by sophiethecat on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at lowcarbfriends):
My mother is....
And she's a bingo champ lol.
My grandmother (mothers.
I figure I have about 1-12 more yearsMy great grands (mothers father's side) both lived well into their 90s.
My family does not have those long lived genes.
|