RMS Record Size in Motorola Emulator
The RMS Record size in Motorola Emulator is only 1 KB...
But I need to increase it since I am going to store video in RMS for testing.
So is there any way to change the record size in this Motorola Emulator...
Please reply...
if it's working like sun wtk, it could be in the <WTK_FOLDER>/appdb/ ...
Similar Messages
-
External Table - possible bug related to record size and total bytes in fil
I have an External Table defined with fixed record size, using Oracle 10.2.0.2.0 on HP/UX. At 279 byte records (1 or more fields, doesn't seem to matter), it can read almost 5M bytes in the file (17,421 records to be exact). At 280 byte records, it can not, but blows up with "partial record at end of file" - which is nonsense. It can read up to 3744 records, just below 1,048,320 bytes (1M bytes). 1 record over that, it blows up.
Now, If I add READSIZE and set it to 1.5M, then it works. I found this extends further, for instance 280 recsize with READSIZE 1.5M will work for a while but blows up on 39M bytes in the file (I didn't bother figuring exactly where it stops working in this case). Increasing READSIZE to 5M works again, for 78M bytes in file. But change the definition to have 560 byte records and it blows up. Decrease the file size to 39M bytes and it still won't work with 560 byte records.
Anyone have any explanation for this behavior? The docs say READSIZE is the read buffer, but only mentions that it is important to the largest record that can be processed - mine are only 280/560 bytes. My table definition is practically taken right out of the example in the docs for fixed length records (change the fields, sizes, names and it is identical - all clauses the same).
We are going to be using these external tables a lot, and need them to be reliable, so increasing READSIZE to the largest value I can doesn't make me comfortable, since I can't be sure in production how large an input file may become.
Should I report this as a bug to Oracle, or am I missing something?
Thanks,
BobI have an External Table defined with fixed record size, using Oracle 10.2.0.2.0 on HP/UX. At 279 byte records (1 or more fields, doesn't seem to matter), it can read almost 5M bytes in the file (17,421 records to be exact). At 280 byte records, it can not, but blows up with "partial record at end of file" - which is nonsense. It can read up to 3744 records, just below 1,048,320 bytes (1M bytes). 1 record over that, it blows up.
Now, If I add READSIZE and set it to 1.5M, then it works. I found this extends further, for instance 280 recsize with READSIZE 1.5M will work for a while but blows up on 39M bytes in the file (I didn't bother figuring exactly where it stops working in this case). Increasing READSIZE to 5M works again, for 78M bytes in file. But change the definition to have 560 byte records and it blows up. Decrease the file size to 39M bytes and it still won't work with 560 byte records.
Anyone have any explanation for this behavior? The docs say READSIZE is the read buffer, but only mentions that it is important to the largest record that can be processed - mine are only 280/560 bytes. My table definition is practically taken right out of the example in the docs for fixed length records (change the fields, sizes, names and it is identical - all clauses the same).
We are going to be using these external tables a lot, and need them to be reliable, so increasing READSIZE to the largest value I can doesn't make me comfortable, since I can't be sure in production how large an input file may become.
Should I report this as a bug to Oracle, or am I missing something?
Thanks,
Bob -
How Can I obtain the tables of one schema and the record size???
How Can I obtain the tables of one schema and the record size???
Example:
TableName Record Size
Tabla1 12500
Tabla2 7800
Tabla3 2046This is not an OWB question, but you can obtain bda-type information on tables by using the system view dba_tables.
Regards:
Igor -
Trail record size & check frecuency for end of uncommitted transactions
Hi, everyone,
Does anyone know if the trail record size can be changed from its default value of 4K?
What about how long the data pump process delays before searching for more data to proccess in its source trail while it waits for the end of a uncommitted transaction (which is 1 second)?Thank you for your answer, MikeN
The delay I'm referring to cannot be set with EofDelay or EofDelayCSecs: these parameters establish how much time the Data Pump process sleeps when it has nothing new in its source trail. The delay that bothers me seems to happen when the Data Pump has nothing new in its source trail but it is in the middle of an open transaction processing.
I think is better explained with an example (which I think explains the goal of changing the record size too):
This is an excerpt for the Extract process trace:
*09:51:59.653622 write(20, "G\1\0\307H\0\0<E\4\0A\0F\5\377\2\361\361\317\21\232\265\300\0\0\0\0\0)h\20"..., 4096) = 4096* <----- Extract writes down the first 4K record of the transaction
09:51:59.653690 time(NULL) = 1349769119
09:51:59.653726 time(NULL) = 1349769119
09:51:59.653763 time(NULL) = 1349769119
09:51:59.653803 time(NULL) = 1349769119
09:51:59.653838 time(NULL) = 1349769119
09:51:59.653877 time(NULL) = 1349769119
09:51:59.653913 time(NULL) = 1349769119
09:51:59.653948 time(NULL) = 1349769119
09:51:59.653987 time(NULL) = 1349769119
09:51:59.654024 time(NULL) = 1349769119
09:51:59.654058 time(NULL) = 1349769119
09:51:59.654097 time(NULL) = 1349769119
09:51:59.654140 time(NULL) = 1349769119
09:51:59.654174 gettimeofday({1349769119, 654182}, NULL) = 0
09:51:59.654207 clock_gettime(CLOCK_REALTIME, {1349769119, 654216293}) = 0
09:51:59.654234 futex(0x9b62584, FUTEX_WAIT_PRIVATE, 957, {0, 999965707}) = 0
09:51:59.751502 futex(0x9b62568, FUTEX_WAKE_PRIVATE, 1) = 0
09:51:59.751554 llseek(19, 2722304, [2722304], SEEKSET) = 0
09:51:59.751608 futex(0x9b62534, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x9b62530, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
09:51:59.751682 nanosleep({0, 0}, NULL) = 0
*09:52:00.162689 write(20, "\0D\0\0O\0\0\0\30\0\0\0\0240000100050134977631"..., 2374) = 2374* <----- Extract writes down the remaining data for the transaction
And this is an excerpt of the corresponding Data Pump process trace:
09:51:59.653398 read(11, "F\0\4/0\0\1\3210\0\0\10GG\r\nTL\n\r1\0\0\2\0\0032\0\0\4 \0"..., 1048576) = 7604
09:51:59.653472 stat64("/stella_dat/ggate/tlstella/tl000195", 0xbfca2a0c) = -1 ENOENT (No such file or directory)
09:51:59.653543 nanosleep({0, 0}, NULL) = 0
09:51:59.653651 llseek(11, 0, [0], SEEKSET) = 0
*09:51:59.653543 nanosleep({0, 0}, NULL) = 0* <---- This is EOFDELAY: it's set to 0
09:51:59.653651 llseek(11, 0, [0], SEEKSET) = 0
*09:51:59.653709 read(11, "F\0\4/0\0\1\3210\0\0\10GG\r\nTL\n\r1\0\0\2\0\0032\0\0\4 \0"..., 1048576) = 11700* <----- Data Pump detects a new record in the source trail
09:51:59.653767 read(11, "", 1048576) = 0
09:51:59.653840 time(NULL) = 1349769119
09:51:59.653910 time(NULL) = 1349769119
09:51:59.653959 time(NULL) = 1349769119
09:51:59.654014 time(NULL) = 1349769119
09:51:59.654067 time(NULL) = 1349769119
09:51:59.654123 time(NULL) = 1349769119
09:51:59.654181 time(NULL) = 1349769119
09:51:59.654232 time(NULL) = 1349769119
09:51:59.654274 time(NULL) = 1349769119
09:51:59.654312 time(NULL) = 1349769119
09:51:59.654351 time(NULL) = 1349769119
09:51:59.654389 time(NULL) = 1349769119
09:51:59.654428 time(NULL) = 1349769119
09:51:59.654467 time(NULL) = 1349769119
09:51:59.654505 time(NULL) = 1349769119
09:51:59.654543 time(NULL) = 1349769119
09:51:59.654582 time(NULL) = 1349769119
09:51:59.654620 time(NULL) = 1349769119
09:51:59.654657 time(NULL) = 1349769119
09:51:59.654695 time(NULL) = 1349769119
09:51:59.654733 time(NULL) = 1349769119
09:51:59.654771 time(NULL) = 1349769119
09:51:59.654809 time(NULL) = 1349769119
09:51:59.654844 read(11, "", 1048576) = 0
*09:51:59.654881 nanosleep({1, 0}, NULL) = 0* <----- This is the 1 second delay that I want to get rid of
*09:52:00.655079 read(11, "\0D\0\0O\0\0\0\30\0\0\0\0240000100050134977631"..., 1048576) = 2374* <----- Data Pump reads the second record of the transaction -
Setting the file system size for the emulator
Hi,
I am trying to set the file system size of the emulator so I can test what happens when the system is full and I try to write to the file system. I am using WTK 2.5.1 and I went into preferences -> storage and set Storage size to 10KB. But when I run the emulator and check the available size of the root directories using:
try {
Enumeration roots = FileSystemRegistry.listRoots();
while (roots.hasMoreElements()) {
String dir = (String) roots.nextElement();
FileConnection fc = (FileConnection) Connector.open( "file:///" + dir );
System.out.println( "Available Size on " + dir + " : "+ fc.availableSize());
fc.close();
} catch ( IOException ex ) {
ex.printStackTrace();
}I get the remaining size of my pc's hard drive, not what is remaining from the 10KB I set.
Can you tell me the correct way to do this? I don't want to fill up my pc's hard drive in order to test this!!Has anyone got an answer to this?
-
I have looked everywhere for help with my questions, but
everything I have read shows that the way I have recorded my
project is correct. I have recorded my project at a desktop
resolution of 1024x768 with a recording size of 800x600, which
looks great on my 1024*768 desktop resolution. The users of this
application are mostly on computers with desktop resolutions of
800x600, so I thought I had my basis covered since I set the
recording size to 800x600, but I was sadly mistaken. The users will
have to do a lot of scrolling to see the entire screen. So here is
my first question: What is the best settings to use when recording
for users whose desktop resolutions are 800x600?
Next, I tried the resizing of the project and found that
580x435 recording size gets my entire movie in the screen for those
with a desktop resolution of 800x600. But some of the users of this
application will have settings of 1024x768. The project now looks
way too small. So here's my second question: Is there a way to
record the project so that it looks good to both groups of users?
Another problem I have come across, however, is that if I try
to record the project in 580x435, then the application I am trying
to capture (which was built as 800x600) will not fit in the
recording size.
Please help. I have created this entire project that is set
to go live tomorrow and thought it was good to go until this.
Thanks so much for any guidance you can provide.This appears to be a repeat of a post that appeared
yesterday. Please direct any replies to where the question first
appeared. You may do this by
clicking
this link. -
SQL server record size limitation.
Hi all,
I am using SQL server, wxp & jboss to write jsp, I am writting a CMS which need to store a lot of documents and show it on the web.
However, some of the content are too long and its longer that the max limitation of the record size of sql server. What is the most common solution for solve this problem.
As the contents are in unicode, I think save it as a text file seems difficult. Any other solution suggest to me??
Thanks a lot.
kinThanks, gocha
but the sql server limited the field size in 4000 (in all unicode data type) but if i want to store something which is greater than 4000 character..... so I would like to find any other solution to solve this problem.
Thanks alot. -
Is there a max record size?
This is probably an easy question for some of the Oracle Gurus out there. :-)
While working on other database platforms, I've found that there is a maximum size that a single record in the database can be. This maximum size is usually based on what the database platform considers a page of data.
Does Oracle have the same thing? If so, what is the maximum size and is it platform dependant (i.e. Windows and Unix have different max sizes)?
The reason for the question is that we are debating wether to make a series of comment fields on the records to be CLOBs or VARCHAR2.
Thanks for the help
Shawn Smiley
Software Architect/DBA
xwave New England
http://usa.xwave.comThis is probably an easy question for some of the Oracle Gurus out there. :-)
While working on other database platforms, I've found that there is a maximum size that a single record in the database can be.
This maximum size is usually based on what the database platform considers a page of data. Does Oracle have the same thing?I know in databases such as DB2 this is the case but I don't think it is in Oracle - although I couldn't find any documentation to back this
up. The reason I don't think this is true in Oracle is because I know that in DB2 a row cannot be larger than the block size. In Oracle you
can have a row that's larger than the block size. If a row is larger than one block it puts the rest of the data in another block(s). This is
called row chaining or row migration depending on the situation.
The reason for the question is that we are debating wether to make a series of comment fields on the records to be CLOBs or VARCHAR2.I would base the decision on the following:
If the maximum length of a comment will be 4000 characters or less use varchar2 otherwise use CLOB.
HTH -
Changing font size for motorola droid's emails
Hi, is there a way of changing the font size with the motorola droid, when working with emails? The emails font seem a bit small. a Little hard to read. I'd like the font to be larger.
Thanks.I tried Spare Parts, because I have the same problem with the font size on email - way too small for these 50-year old eyes. It does not work on email. In fact it says in the Spare Parts menu under Font size "this only works within this screen." I'm using an LG Ally, BTW.
Any other ideas for increasing font size for emails? -
I am working with a Motorola i90c phone. The application successfully download to the phone, but then I try to initialize it I get a memory error. So I think may be the jar file is too big. Is somebody know what is the maximum allowed size for the jar file.? My jar file is 75kb.
Maybe you are allocating to much objects? Fire up ktoolbar and profile the memory-management...
-
hai
have a peace day.
what is the size of the table in MYSQL
how many records are store maximum in a table
thanks
regards
rexhttp://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-12,GGGL:en&q=maximum+table+size+mysql
-
7.1: set Screen Size of PDA Emulator
We are developing a 7.1 PDA Mobile App using a client device with a bigger screen (VGA) than the emulator by default opens up with.
Is there a setting (eg. in MI\settings\core.properties) to define the screen size?
Thanks, AndreHi Sivakumar,
thanks for checking and letting me know.
In the meantime I installed a software to control windows: Autohotkey. The little script below resizes the window and enters my user id and password. It is one click only if you have a link in the QuickLaunch Tray.
Cheers, Andre
WinWait, SAP NetWeaver Mobile,
IfWinNotActive, SAP NetWeaver Mobile, , WinActivate, SAP NetWeaver Mobile,
WinWaitActive, SAP NetWeaver Mobile,
WinGetPos X, Y, W, H
WinMove SAP NetWeaver Mobile,,X, Y, 800, 400
MouseClick, left, 483, 78
Sleep, 100
Send, userid{TAB}password
MouseClick, left, 36, 34
Sleep, 100 -
J2ME - RMS - Record Enumeration - compilation problem
Hi,
Im trying to create RMS with Record Enumeration. Able to open a recordstore & write a record in it; while reading the record with record enumeration, im assigning the recordstore object to enumeration. Here compilation problem occurs. Im attaching the code which im working. Please help me to solve this issue.
import javax.microedition.midlet.*;
import javax.microedition.rms.*;
import javax.microedition.lcdui.*;
import java.io.*;
public class RecordEnumeration extends MIDlet implements CommandListener
private Display display;
private Alert alert;
private Form form;
private Command cmdOpen, cmdWrite, cmdRead, cmdClose, cmdDelete, cmdExit;
private RecordStore rs = null;
private RecordEnumeration re = null;
public RecordEnumeration()
display = Display.getDisplay(this);
cmdOpen = new Command("Open", Command.SCREEN, 1);
cmdWrite = new Command("Write", Command.SCREEN, 1);
cmdRead = new Command("Read", Command.SCREEN, 1);
cmdClose = new Command("Close", Command.SCREEN, 1);
cmdDelete = new Command("Delete", Command.SCREEN, 1);
cmdExit = new Command("Exit", Command.SCREEN, 1);
form = new Form("RecordEnumeration");
form.addCommand(cmdOpen);
form.addCommand(cmdWrite);
form.addCommand(cmdRead);
form.addCommand(cmdClose);
form.addCommand(cmdDelete);
form.addCommand(cmdExit);
form.setCommandListener(this);
public void startApp()
display.setCurrent(form);
public void pauseApp()
public void destroyApp(boolean unconditional)
public void commandAction(Command cmd, Displayable displayable)
if(cmd == cmdExit)
destroyApp(true);
notifyDestroyed();
else if(cmd == cmdOpen)
try
rs = RecordStore.openRecordStore("RecordEnumeration", true);
System.out.println("Opening Record");
catch(Exception err)
alert = new Alert("Err Opening", err.toString(), null, AlertType.WARNING);
alert.setTimeout(Alert.FOREVER);
display.setCurrent(alert);
else if(cmd == cmdWrite)
try
String StringOutput[] = {"First Record", "Second Record", "Third Record"};
for (int x = 0; x < 3; x++)
byte[] byteOutputData = StringOutput[x].getBytes();
rs.addRecord(byteOutputData, 0, byteOutputData.length);
System.out.println("Record "+ x +" Added");
catch (Exception err)
alert = new Alert("Err Writing", err.toString(), null, AlertType.WARNING);
alert.setTimeout(Alert.FOREVER);
display.setCurrent(alert);
else if(cmd == cmdRead)
try
StringBuffer buffer = new StringBuffer();
re = rs.enumerateRecords (null, null, false);
while (re.hasNextElement())
buffer.append(new String(re.nextRecord()));
buffer.append("\n");
alert = new Alert("Enumeration", buffer.toString(), null, AlertType.WARNING);
alert.setTimeout(Alert.FOREVER);
display.setCurrent(alert);
System.out.println("Reading");
catch(Exception err)
alert = new Alert("Err Reading", err.toString(), null, AlertType.WARNING);
alert.setTimeout(Alert.FOREVER);
display.setCurrent(alert);
else if(cmd == cmdClose)
try
rs.closeRecordStore();
System.out.println("Closed");
catch(Exception err)
alert = new Alert("Err Closing", err.toString(), null, AlertType.WARNING);
alert.setTimeout(Alert.FOREVER);
display.setCurrent(alert);
else if(cmd == cmdDelete)
try
RecordStore.deleteRecordStore("RecordEnumeration");
re.destroy();
System.out.println("Deleted");
catch(Exception err)
alert = new Alert("Err Deleting", err.toString(), null, AlertType.WARNING);
alert.setTimeout(Alert.FOREVER);
display.setCurrent(alert);
These are the error which im getting while compiling in WTK.
C:\WTK2.5.1\apps\WritingMixedData\src\RecordEnumeration.java:60: incompatible types
found : javax.microedition.rms.RecordEnumeration
required: RecordEnumeration
RecordEnumeration re = rs.enumerateRecords(null,null,false);
^
C:\WTK2.5.1\apps\WritingMixedData\src\RecordEnumeration.java:99: cannot find symbol
symbol : method hasNextElement()
location: class RecordEnumeration
while (re.hasNextElement())
^
C:\WTK2.5.1\apps\WritingMixedData\src\RecordEnumeration.java:101: cannot find symbol
symbol : method nextRecord()
location: class RecordEnumeration
buffer.append(new String(re.nextRecord()));
^
C:\WTK2.5.1\apps\WritingMixedData\src\RecordEnumeration.java:136: cannot find symbol
symbol : method destroy()
location: class RecordEnumeration
re.destroy();
^
4 errors
Advices are welcome. Thanks in advance.
-SinguHi Guys,
J2ME TECHNOLOGIES
I created a record store and inserted record date "random" into it using the following code.
RecordStore rs = null;
try {
rs = RecordStore.openRecordStore( "myrs",true);
//rs = RecordStore.openRecordStore( "myrs",false );
rs.setMode(1,true);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DataOutputStream dos = new DataOutputStream(baos);
try{dos.writeUTF("random");}catch(Exception e){}
byte[] b = baos.toByteArray();
rs.addRecord(b, 0, b.length);
}catch(Exception e){}
I executed this MIDLET TO INSERT.
I closed the application and tried to look for the physical db file inside my application folder where i couldnt find it.
Then i tried to read the data from RECORD STORE myrs using the the same MIDlet by editing the aboe code as follows
RecordStore rs = null;
try {
rs = RecordStore.openRecordStore( "myrs",false);
byte[] recData = new byte[10];
ByteArrayInputStream bais = new ByteArrayInputStream(recData);
DataInputStream dis = new
DataInputStream(bais);
rs.getRecord(1, recData, 0);
try{System.out.println("UTF: " + dis.readUTF());}catch(Exception e){}
System.out.println("--------------------");
} catch( RecordStoreException e ){// couldn't open it or create it
System.out.println("data base creation error"+e);
But when i executed it the error occured
microedition.rms.RecordStoreNotFoundException: cannot find record store file
My question in my first code ive created the data store and inserted the values into my recordstore myrs
Then when i edit the code for creation into reading from the record store why the error occurs.Does the Midlet store the record store Temporarirly ONLY till the MIDLET LIFECYCLE.
IF SO what is the method and code to store the RECORD STORE PERMANENTLLY EVEN AFTER THE MIDLET EXECUTION QUITS.
///////////////////////kARTHEE -
*Recording* on the Motorola S9?
Pairing is no problem for listening to music, but recording -- using VoiceRecorder, when the headset is paired -- doesn't work. Any ideas or suggestions for apps that work with the Motorola S9 as a recording device, or tips on getting it to function?
I was going to use it for screwing around with multitrack vocals in garage band or another recording app. Took me a couple of days to realize that while I was hearing the playback fine, the audio input was actually coming from the built in mic, not the headset mic. Duh.
Depending on what you are trying to do, there are ways to get audio from an external mic in there, just nothing as convenient as a bt headset.
( search irig for an example)
So let's see if somebody else pipes in. -
Quicktime screen recording size
Hi
So since I knew how to do the screen recording, I have been recording my stuffs to post on YouTube.
But the problem is that the size of the recorded video is way too high (74MB for 1 minute recording)
I think it is not compressed and the quality is too high, any compressing programs, any other ways to reduce the size?
Thanks
CC9799
Maybe you are looking for
-
How do I get a pdf toolbar in AutoCAD?
I've just purchased Acrobat X, and want to know how to get the 'create pdf' toolbar showing in AutoCAD (2010). This link is the nearest I've got: http://help.adobe.com/en_US/Acrobat/8.0/Professional/help.html?content=WS58a04a822e3e50102 bd61510979419
-
I cannot export a slideshow from Iphoto to iTunes
I am trying to export a slideshow from iphoto to itunes so that I can burn it to a dvd. The automatically sent to itunes is checked but the export button is not highlighted.
-
When I started my iMac today, it started beeping like an alarm horn. I shut it down, and held the startup button a little longer to get it to start. Shortly after starting up, a dark 'film' slowly comes down over the screen and I get a message sayi
-
How to display an applet in a html page
I can't get my beautifull new applet displayed in IE. I just get a grey box instead of my applet... Can someone send me the correct code for displaying an applet under IE ??? Thanks in advance, Menno.
-
Monitoring Notification Mailer
Guys, We have an issue with notification mailer needing to be restarted on a regular basis. Is there a common method of monitoring notification mailer. Can a cron be setup to send an alert when it goes down. Thanks in advance,