Questions tagged [shrink]
249 questions
5
votes
5 answers
SQL Server database file not being truncated
I have a database which is ~4GB in size. I've copied that database and deleted 99% of the data on it because I need a database with only the schema and basic data (mostly static data is kept).
The problem now is that the MDF file still is ~4GB in…

Diego Jancic
- 7,280
- 7
- 52
- 80
5
votes
3 answers
Is it safe to delete the tempdb.mdf file manually?
In SQL Server 2008, I am trying to BULK INSERT a CSV that's about 1GB in size. As I'm doing so, it's creating a huge tempdb.mdf file. Right now, it's 35GB for this 1GB CSV file.
I've tried the various solutions that Microsoft provides, and they…

mlissner
- 17,359
- 18
- 106
- 169
4
votes
1 answer
How shrink a frame when the bottom frames inside are blank.?
So im trying shrink the right frame when the last two inside frames containing the
text fields(red boxes) are blank. The left and right main frames are also inside a frame. But even if only have 4 rows i always get the unused space in the…

Maxrunner
- 1,955
- 4
- 24
- 41
4
votes
0 answers
proguard IllegalArgumentException
Trying to build release version of my application. It comes up with an error saying that
Caused by: java.io.IOException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Value "a" is not an integer value…

Dylan Ang
- 175
- 7
4
votes
2 answers
Can realloc shrink my array on the left side (C only)?
I want to move a large chunk of data i've got in my memory. Unfortunately this data is saved as an array, and i cannot change that. I can't use circular arrays, because the same memory is also used by a couple of fortran methods i do not want to…

Nils_M
- 1,062
- 10
- 24
4
votes
1 answer
How to safely release unallocated space for 1 table in a database?
Our Production database is on SQL Server 2008 R2. One of our tables, Document_Details, stores documents that users upload via our application (VB). They are stored in varbinary(max) format. There are over 20k files in pdf format and many of these…

Paul S
- 113
- 1
- 1
- 13
4
votes
2 answers
How to shrink secure file LOBs in Oracle
I noticed today that SQL command that is used to shrink LOBs in oracle does not work in 12c.
ALTER TABLE SAMPLE_TABLE MODIFY lob (LOB_COLUMN) (SHRINK SPACE)
This returns oracle error
ORA-10635: Invalid segment or tablespace type
In the oracle…

pragan
- 143
- 2
- 11
4
votes
2 answers
Can we shrink all classes but only obfuscate some with proguard?
Typically, excluding a class with -keep prevents the class from being obfuscated
However it also prevents it from being shrunk.
Is it possible to define a proguard-project.txt that will shrink all classes except those that are excluded with -keep,…

clockpenalty
- 133
- 1
- 6
4
votes
2 answers
javafx tooltip font shrinkage
I'm noticing when I add a tooltip to something (either through Scene Builder or in my controller), everytime I mouse over to see it, the font will get smaller and smaller. I've scoured the internet for the better part of the day looking for anything…

brutal11
- 73
- 6
4
votes
3 answers
UILabel does not autoshrink text after assigning NSAttributedString
I have a label with a limited width, and I need it to auto-adjust the font size for the text to fit in.
Since I need the text to be underlined, I assigned an attributed string to this label:
[_commentsLabel setAttributedText:[[NSAttributedString…

Guilherme
- 7,839
- 9
- 56
- 99
4
votes
1 answer
Replicate OpenCV resize with bilinar interpolation in C (shrink only)
I'm trying to make a copy of the resizing algorithm of OpenCV with bilinear interpolation in C. What I want to achieve is that the resulting image is exactly the same (pixel value) to that produced by OpenCV. I am particularly interested in…

Alessandro Gaietta
- 557
- 2
- 9
- 20
4
votes
1 answer
Keep class from shrinking
In my android app I have a DbHelper class which extends OrmLiteSqliteOpenHelper which extends SQLiteOpenHelper. Running ProGuard on project completes successfully, but later in run-time I'm getting an error: java.lang.NoClassDefFoundError:…

Dmitriy Tarasov
- 1,949
- 20
- 37
4
votes
1 answer
boost::asio::streambuf shrink-to-fit?
The boost::asio::streambuf size will keep on increasing until consume() is called.
Even after consume() is called, the memory used by the underlying buffer will never be released.
For example: the following code first created a streambuf without…

John Crane
- 371
- 5
- 14
4
votes
1 answer
Make thumbnails for jpeg images in pure Lua?
Lua -> Is it possible to Shrink Larger Image ?
I need it to make thumbnails for jpeg images.
I don't need a "binding". Is there any module writed in pure Lua ?
Is it difficult to write one ?
I have found…

vovahost
- 34,185
- 17
- 113
- 116
4
votes
3 answers
Does performance of a database (SQL Server 2005) decrease if I shrink it?
Does performance of a database (SQL Server 2005) decrease if I shrink it?
What exactly happen to the mdf and ldf files when shrink is applied (Internals???)

abmv
- 7,042
- 17
- 62
- 100