Questions tagged [capacity]

Questions about resource capacity. Use in conjunction with the applicable tag such as [memory], [disk] or [database] to indicate the type of resource being referred to.

Questions about resource capacity. Use in conjunction with the applicable tag such as , or to indicate the type of resource being referred to.

250 questions
0
votes
4 answers

Is it possible to set an exact number of characters for an input using StringBuilder?

I'd like to be able to force a 10 character input using StringBuilder. I know it can be set to a max char limit but can I make it exactly 10? Maybe something like this: import java.util.Scanner; public class Phonenumber { public static void…
0
votes
3 answers

C++ How to preserve string capacity when copying

EDIT (original post in edit history) I'm able to reproduce my problem with this example: #include #include using namespace std; #define MAX_BUFFER 30 int main(int argc, char **argv) { vector myVec = {…
anon_user
  • 43
  • 7
0
votes
1 answer

Some Common Questiones about Neo4J 3.0

1.Does enterprise version support distributed graph algorithm?Or can the Neo4J graph data and graph calculation be distributed over cloud infrastruction?And How does it work? 2.If I have a server (16 cores CPU,256G memory,2TB HDD) and each node or…
alexchenm
  • 13
  • 1
0
votes
2 answers

What is the average capacity of a postfix mail server?

I appreciate there is no 'set' answer to this question. I am trying to assess the performance of our dedicated mail server for sending out emails. The server is of the spec below: 2G RAM CPU Xeon 2.80GHz (x2) Currently we're only managing to…
Stephen Maher
  • 228
  • 5
  • 11
0
votes
1 answer

Are there any suggestions about how use node label in Hadoop YARN?

Node label is a relatively new feature of YARN, which is available since Apache Hadoop 2.6. It can solve problems in different scenarios. However, from Hadoop JIRA and mail lists, many users encounter issues to setup and use node label. Are there…
Wangda Tan
  • 11
  • 1
0
votes
2 answers

How can we limit the capacity of an NSMutableDictionary?

Is there any way to create a mutable dictionary with a capacity limit rather than an initial capacity? Say you want to create a dictionary that will only ever have, at most, 100 entries. The capacity argument for the dictionary is an initial…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
0
votes
0 answers

ios accessing battery current and maximum capacity (mAh)

I'm interested in doing some battery diagnostics for an iphone application. I've seen other apps that are able to display current and maximum battery capacity, to show current battery storage performance. It's unclear how to get this information…
Miro
  • 5,307
  • 2
  • 39
  • 64
0
votes
1 answer

How to use jquery to create progress bar for loading an image?

I want to take size in bytes of image in page at the first load page, and then create a loading bar and show it loading similar preloader of flash. But I don't know if jQuery can take size in bytes of image or not.
Rueta
  • 3,317
  • 2
  • 23
  • 22
0
votes
0 answers

code to test simplexml_load_string capacity

I am having trouble with PHP simplexml_load_string command failing on large strings. I would like to test how many characters can be parsed before the command fails. Is this code suitable for such a test? can someone suggest better?
Mustapha George
  • 2,497
  • 9
  • 47
  • 79
0
votes
1 answer

How to set a capacity for Distributed Schem in Coherence Cache

I setup a in my configuration file DIST_CACHE
vs777
  • 564
  • 2
  • 11
  • 24
0
votes
2 answers

Server architecture depending on the capacity

I am new at Server side, but I have gotten a chance to design and implement a server that will cover around 2000~3000 client. And I am thinking that I will use Python and Websocket, though I don't know this choice is appropriate. In this point, I am…
SangminKim
  • 8,358
  • 14
  • 69
  • 125
0
votes
1 answer

Increase capacity for vector

Disclaimer 1 - I'm new to programming Disclaimer 2 - I have searched and searched, but can't find the help I'm looking for. For a project, I am more or less re-writing the vector class in a more stripped down form. The part I'm hung up with is…
pocket86
  • 33
  • 6
0
votes
1 answer

How to fix MS Access table that grows dynamically until it hits the 2 GB limit?

I have an Access table that "appears" to exceed its 2 GB limit, but isn't really that big. In fact, the size for the entire .mdb file is only 4 MB. The table is clearly corrupted, but in a way that makes it difficult to deal with. When I open it…
UhClem
  • 129
  • 3
  • 10
0
votes
3 answers

C++ multidimensional array capacity

I'm new to C++, and I've started to learn arrays. Here is my program on arrays: #include using namespace std; int main(){ int arr[3][3]; for (int i = 0; i<3; i++){ for (int j = 0; j<3; j++){ cout << "Enter "…
E_Tony
  • 67
  • 1
  • 5
0
votes
1 answer

how to import capacity data from excel to microsoft team foundation server 13?

it is easy to export tfs data to excel, but i wonder how to get the data from excel imported to capacity of tfs scrum 2013. by capacity, i mean the team member, capacity per day something like this. Thanks!
Christy Lin
  • 105
  • 1
  • 1
  • 7